OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: CooK on 19 Oct 2002, 03:41:06

Title: set altitude triggers a action
Post by: CooK on 19 Oct 2002, 03:41:06
k making a map where if you fly at a alitude of x resistance dofire on you.

what is the command of how to make this happen?
Title: Re:set altitude triggers a action
Post by: Sui on 19 Oct 2002, 07:45:30
You can get a trigger to activate when a unit flies above a certain altitude... the Condition line looks like this:

(getpos unit select 2) > x

Where x is your altitude... ;)