Finding Hostage Entity || Index
is it possible to find the hostages entity index in the
"Rescued_A_Hostage" trigger ? trying to set specific bitsums for hostage indexs.. but can seem to find a way to get there index in the trigger event... can only get it from the Ham_Use event with "hostage_entity" set. is it possible? |
Re: Finding Hostage Entity || Index
The hostages are removed when rescued, right? So what do you actually want?
|
Re: Finding Hostage Entity || Index
Quote:
|
Re: Finding Hostage Entity || Index
You can't set bitsum to something that doesn't exist.
I still don't understand. It's a code that runs, tops, 4 times in one round. Just loop entities for classnames. |
Re: Finding Hostage Entity || Index
Quote:
|
Re: Finding Hostage Entity || Index
Ok.
So just buffer the 4(is more possible?) hostages inside an array that contains their entity index when the round starts. Loop that array upon rescue and check pev_valid() or similar. Code:
|
Re: Finding Hostage Entity || Index
|
| All times are GMT -4. The time now is 06:00. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.