Home   Help Search Login Register  

Author Topic: Detecting whether a player is moving  (Read 1433 times)

0 Members and 1 Guest are viewing this topic.

Offline Dmitri

  • Members
  • *
Detecting whether a player is moving
« 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? :)

Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
Re: Detecting whether a player is moving
« Reply #1 on: 16 Dec 2007, 02:03:06 »
Code: [Select]
(speed player) > 0
« Last Edit: 16 Dec 2007, 02:06:50 by Spooner »
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)

Offline Dmitri

  • Members
  • *
Re: Detecting whether a player is moving
« Reply #2 on: 16 Dec 2007, 12:41:31 »
:D So obvious..never occurred to me to search the comref for speed. Thanks.