SetActivatorToPlayer
This article documents a Zandronum-specific ACS feature which may not be supported by ZDoom and its other child ports. |
bool SetActivatorToPlayer (int playernumber)
Usage
Sets the activator of the script to a specific player. This functions replaces using SetActivator with a Player Pointer (AAPTR_PLAYERx) and allows any player to be set as the activator, not just the first 8 players.
Parameters
- playernumber: Number of the player to set as the activator.
Return value
Returns true if the player is valid and was set as the activator; false otherwise.
Examples
This article lists no examples, please add one. |