OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting Multiplayer => Topic started by: Dmitri on 16 Dec 2007, 01:01:44

Title: Detecting whether a player is moving
Post by: Dmitri on 16 Dec 2007, 01:01:44
Creating a PvP mission where I need to detect whether a player is moving, or stationary. For cueing foliage movement sounds. Any ideas? :)
Title: Re: Detecting whether a player is moving
Post by: Spooner on 16 Dec 2007, 02:03:06
Code: [Select]
(speed player) > 0
Title: Re: Detecting whether a player is moving
Post by: Dmitri on 16 Dec 2007, 12:41:31
:D So obvious..never occurred to me to search the comref for speed. Thanks.