ActorUnderWater
Usage:
ActorUnderWater(Actor)
Description:
The ActorUnderWater command returns 1 if the specified actor is swimming in any water area, or 0 if it is not.
Example:
Function Main()
Swimming = ActorUnderWater(Actor())
If (Swimming == 1)
Output(Actor(), "You are swimming.")
Else
Output(Actor(), "You aren't swimming.")
EndIf
Return()
End Function
Comments (0)
You don't have permission to comment on this page.