dreadpirate
-
Content Count
537 -
Joined
-
Last visited
-
Medals
Posts posted by dreadpirate
-
-
Ah, the quotes within quotes is what is causing the problem. Put double quotes around "objmk1".
_wp = _group addWaypoint [getmarkerpos "objmk1",0]; _wp setWaypointSpeed "FULL"; _wp setWaypointStatements ["true","[_group, getmarkerpos ""objmk1"", 200] call bis_fnc_taskPatrol;"];
-
Create a trigger.
Set Activation to : NONE
Set Condition to : time > 5
Set Activation to : [["transport","aerial_reconnaissance","supply_drop","tactical_airstrike","artillery_barrage","gunship_run"],unitname] call BIS_SOM_addSupportRequestFunc;
(where unitname is the unit synced to the module.....)
-
Try this:
_spawn_zone = _this select 0; _veh_type = _this select 1; _name = _this select 2; _dir = _this select 3;// new _group = createGroup east; _veh = createVehicle [_veh_type, _spawn_zone, [], 0, "NONE"]; _driver = _veh emptyPositions "driver"; _gunner = _veh emptyPositions "gunner"; _cargo = (_veh emptyPositions "cargo") - 1; if (_driver > 0) then {"TK_INS_Soldier_EP1" createUnit [_spawn_zone, _group, "this moveinDriver _veh;this assignAsDriver _veh;this setskill [""general"",1];"];}; if (_gunner > 0) then {"TK_INS_Soldier_EP1" createUnit [_spawn_zone, _group, "this moveinGunner _veh;this assignAsGunner _veh;this setskill [""general"",1];"];}; if (_commander > 0) then {"TK_INS_Soldier_EP1" createUnit [_spawn_zone, _group, "this moveinCommander _veh;this assignAsCommander _veh;this setskill [""general"",1];"];}; for "_i" from 0 to _cargo do { "TK_INS_Soldier_EP1" createUnit [_spawn_zone, _group, "this moveinCargo _veh;this assignAsCargo _veh;"]; }; _veh setdir _dir;// new _veh SetVehicleVarName _name; call compile format["%1 = _veh", _name]; [color="#FF0000"]_wp = _group addWaypoint [getmarkerpos "objmk1",0]; _wp setWaypointStatements ["true","[_group, getmarkerpos "objmk1", 200] call bis_fnc_taskPatrol;"];[/color]
-
I think bis_fnc_taskPatrol sets speed to "LIMITED" by default.
Try creating a waypoint at "objmk1" with speed "NORMAL" or "FULL" and call bis_fnc_taskPatrol after that...
-
-
Good question.
My initial thought was disableUserInput, but that deactivates the mouse as well.
Try putting this in a trigger:
player switchmove "cooper1_c0start";
The animation lasts for about a minute.
-
2.05 US Army Takistan North spawning Chernarussian Insurgents instead of Takis.....
-
Have you tried:
_vcl = name vehicle player;
Agony
in ARMA 2 & OA : MISSIONS - Editing & Scripting
Posted · Edited by DreadPirate
Scooped!
Also try:
(2nd Ranger beat me to it.....)