This commit is contained in:
Scott Ehlert 2006-05-04 22:10:23 +00:00
parent eb55e1f4aa
commit 53e84a13be

View File

@ -150,8 +150,11 @@ native remove_entity(iIndex);
/* Return current number of entities in the map */
native entity_count();
/* Simulate two entities colliding/touching. */
native fake_touch(entTouched, entToucher);
/* Simulate two entities colliding/touching.
* ptr - touched entity
* ptd - toucher entity
*/
native fake_touch(ptr, ptd);
/* 2 formats.
Format: DispatchKeyValue("KeyName","Value") - sets keyvalues for the entity specified in the keyvalue() forward.
@ -234,8 +237,11 @@ native eng_get_string(_string, _returnString[], _len);
/* FORWARDS
**********/
/* Called when 2 entities touch. */
forward pfn_touch(entTouched, entToucher);
/* Called when 2 entities touch.
* ptr - touched entity
* ptd - toucher entity
*/
forward pfn_touch(ptr, ptd);
/* Called once every server frame. May cause lag. */
forward server_frame();