get_random_target_player()

Parameters:
none
 
Returns:
none

Description:
Gets a random player. If the game's not in coop, always returns the local player.

Created this to select a random player for the AI to target.

returns: LOCAL_PLAYER or REMOTE_PLAYER. In non-coop games, returns LOCAL_PLAYER.

 

back to indexSR3 Script Action Documentation
Last updated: Tue, 09 Aug 2011 11:32:16