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
) »
distance code
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: distance code (Read 617 times)
0 Members and 1 Guest are viewing this topic.
oyman
Members
king of pings
distance code
«
on:
21 Jul 2005, 05:33:09 »
I remember this one code where you could put in the condition of the trigger
where if a unit was a X number of meters away you could do stuff
it was something like
heli > distance = 45
anyone remember it :-\
Logged
Triggerhappy
Contributing Member
Llama, it's what's for dinner.
Re:distance code
«
Reply #1 on:
21 Jul 2005, 05:57:53 »
perhaps you mean
heli distance this >= 45
or something similar
or perhaps you meant the pythagorean theorem (for 2d distance)
Logged
Sliding plane crash script
Arrest script
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
) »
distance code
Top of page