added a note to hostage natives for CZ

This commit is contained in:
David Anderson 2006-09-10 04:36:44 +00:00
parent 4f95899d2e
commit f6f6bcc356

View File

@ -28,10 +28,12 @@ native cs_get_user_deaths(index);
native cs_set_user_deaths(index, newdeaths); native cs_set_user_deaths(index, newdeaths);
/* Returns index of entity (does not have to be a player) which hostage is following. 0 is hostage doesn't follow anything. /* Returns index of entity (does not have to be a player) which hostage is following. 0 is hostage doesn't follow anything.
* Note: this native does not work on Condition Zero, which has a different hostage AI than CS.
*/ */
native cs_get_hostage_foll(index); native cs_get_hostage_foll(index);
/* Set hostage to follow entity specified in followedindex. Does not have to be a player. If followedindex is 0 the hostage will stop following. /* Set hostage to follow entity specified in followedindex. Does not have to be a player. If followedindex is 0 the hostage will stop following.
* Note: this native does not work on Condition Zero, which has a different hostage AI than CS.
*/ */
native cs_set_hostage_foll(index, followedindex = 0); native cs_set_hostage_foll(index, followedindex = 0);