GetPlayerBrain
From Data Realms Wiki
Revision as of 09:05, 27 May 2011 by Abdul Alhazred (Talk | contribs)
Function | |
---|---|
Syntax | GetPlayerBrain( (number) Team ) |
Description: | |
Returns current brain for specified player. | |
Returns | Actor |
Example | |
---|---|
Description | Finds any brains that belongs to the active human players. The pointer returned by GetPlayerBrain is not guaranteed to be safe to access so check it with MovableMan:IsActor before using it. |
Code |
|
Output | Prints the player number of any active brain that belongs to a human player. |