ActorTarget
Usage:
ActorTarget(ActorHandle)
Description:
The ActorTarget command returns the handle of the actor targeted by the specified actor. The target is whichever actor the specified actor is currently attacking. If there is no target, zero will be returned.
Example:
Function Main()
Player = Actor()
Target = ActorTarget(Player)
Output(Player, "You are attacking " $+ Name(Target))
EndIf
Return()
End Function
Comments (0)
You don't have permission to comment on this page.