greetings all
i am trying to do my first solo script, and its not going to well. i have been using this forum and the command reference to help but i still cant get my AI units to do what i want
i want solo AI units to stand up in a trench for a given time fire then lay back down. they will fire when standing in the trench, but not to the effect i want
here is my script so far
_unit = _this Select 0
#start
dostop _unit
_unit SetUnitPos "up"
_unit setCombatMode "blue"
_unit switchmove "CombatToLying"
~20.0
_unit switchmove "LyingToCombat"
_unit SetUnitPos "up"
_unit Fire [PGM_k98aB,PGM_maumag,PGM_maumag,PGM_maumag,PGM_mau mag,PGM_maumag,PGM_maumag,PGM_maumag,PG
M_maumag,PGM_maumag,PGM_maumag]
~20.0
? (Alive _unit):Exit
goto "start"
they just lay in the trench now, i want the "whack a mole" effect as your team is running toward the trench
any help would be great
Mak![]()
![]()
HOME
Reply With Quote




