[Help] NPC (AI) Roam too far

Svarthund

New Member
I am trying to populate the Taviana Oil Rigs with insurgents and militiamen using the mission editor. I put down the centre and the group, and to place the NPCS above sea level I add to their init line:
this setPos [getPos this select 0, getPos this select 1,<height>];

But in-game, they jump off of the oil rigs and into the water to get to the group/centre which is at sea level. I am new to the mission editor - what can I do to stop them trying to get to sea level and stay on the oil rigs?

Thank you.
 
I'm not sure if I did this line right, but we had the same results when we tested it with the AI wanting to be on sea level:
this setPosASL [getPosASL this select 0, getPosASL this select 1,<height>];
 
Back
Top