hi folks, im trying to create a trigger that detects the altitue of a player and if over a certain height it spawns a sam site, mans it, targets the player and fires at the player.
so far i have this in a trigger but no joy
cond
(getPos ap select 2) > 100
act
sam = createVehicle ["stinger_pod", getpos player]; "RUS_Soldier2" createUnit [position sam, group red,"this moveingunner sam; sam dotarget ap; sam dofire ap"];
any ideas?