I need help with Spawn Civilian
I must spawn a civilian (Civ1) with script on a marker (M1), and in its init I need to add a AddAction and disableAI:
this DisableAI 'ANIM'; this disableAI 'FSM';this disableAI 'MOVE';Civ1 = this addAction ["Marker", "marker.sqf"];
I found this here and works perfect:
createCenter civilian;
_group = createGroup Civilian;
_group createUnit ["C_man_1", (getMarkerPos "M1"), [], 5, "NONE"];
but where do I insert the AddAction?