Can you spawn AI at set height?

Spike

New Member
As the tittle suggests... can you? and if so how, or which file will give me the clues ;)

My guys are bugging me to add a few random snipers on towers dotted around and they always spawn on the ground as no height variable offset assigned.

I just want to put, for example, a spawn on the towers in cherno, com tower at nw, firestation roof at electro. That sort of thing.

If anyone can give me a hint or throw a working marker example I would appreciate it. Did think it might be something like setMarkerHeight 15 or something but couldnt find anything that looked like setMarkerHeight would work (probably because arma likes its markers to be spawned at the 2d level)

Cheers in advance people x
 
It's the third value in the X, Y,Z part of the position.

unit setPos [x,y,z];

Best way to get an accurate position is to take your player to the spot and check your worldspace value in the database.
.
 
Yup, did exactly that mate.

That was my first attempt ;)

Even tried is based on (x,z,y) but still no joy

Have you got this working on sarges 1.5.2?
 
I will give that a go and see what I come up with mate, cheers for the suggestion

Hopefully I get this sorted before our server dies or my players all move over to Epoch
 
Back
Top