FindRandomActorFromRef - Game
Revision as of 07:55, 13 January 2014 by imported>Chesko (Removed confusing return function from syntax, as other functions on this wiki do not follow that format.)
Member of: Game Script
SyntaxEdit
Actor Function FindRandomActorFromRef(ObjectReference arCenter, float afRadius) global
ParametersEdit
Return ValueEdit
A random actor found, none if no actor in the area.
ExamplesEdit
; Find a random actor near the player, limiting the search to 5 units
Actor randomActor = Game.FindRandomActorFromRef(Game.GetPlayer(), 5.0)