Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Choppers altitude
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Choppers altitude (Read 514 times)
0 Members and 1 Guest are viewing this topic.
Dane
Guest
Choppers altitude
«
on:
19 Jul 2005, 10:06:50 »
I need a certain script activated when a certain choppers altitude equals or is below 1 meter on ground level.
Any ideas
Thanks.
«
Last Edit: 19 Jul 2005, 10:11:09 by Dane
»
Logged
qqqqqq
Guest
Re:Choppers altitude
«
Reply #1 on:
19 Jul 2005, 10:11:08 »
Something like
getpos choppername select 2 <= 1
Logged
Dane
Guest
Re:Choppers altitude
«
Reply #2 on:
19 Jul 2005, 10:13:40 »
Thanks. I'll try that right now.
Logged
Dane
Guest
Re:Choppers altitude
«
Reply #3 on:
19 Jul 2005, 10:37:52 »
My little heightcheck.sqs now looks like this:
_chopy = _this select 0
#loop
?(getpos _chopy select 2 <= 1) : goto "next"
~1
goto "loop"
#next
[_chopy] exec "chops\trythat.sqs"
exit
.. and it works perfectly
Thanks alot
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Choppers altitude
Top of page