OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: LordTedrick on 02 Jun 2007, 18:16:02
-
How do I get an AI AT to just hold the laucher and not switch back to his rifle. I have tried selectweapon which just seems to last for about two seconds >:(
-
Is this for a cutscene?
Very ugly script but it works:
#loop
?!alive unitname: exit
unitname switchmove "amovpknlmstpsraswlnrdnon"
~0.01
goto "loop"