Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
ArmA - Editing/Scripting Multiplayer
(Moderators:
h-
,
savedbygrace
) »
Detecting whether a player is moving
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Detecting whether a player is moving (Read 1433 times)
0 Members and 1 Guest are viewing this topic.
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?
Logged
Spooner
Members
Mostly useless
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
»
Logged
[Arma 2]
CBA: Community Base Addons
[Arma 1]
SPON Core
(including links to my other scripts)
Dmitri
Members
Re: Detecting whether a player is moving
«
Reply #2 on:
16 Dec 2007, 12:41:31 »
So obvious..never occurred to me to search the comref for speed. Thanks.
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
ArmA - Editing/Scripting Multiplayer
(Moderators:
h-
,
savedbygrace
) »
Detecting whether a player is moving
Top of page