-
Content Count
145 -
Joined
-
Last visited
-
Medals
-
remoteExec an addAction
noricum replied to Harvath.S's topic in ARMA 3 - MISSION EDITING & SCRIPTING
THANK YOU very much! It works now- 19 replies
-
- addaction
- remoteexec
-
(and 2 more)
Tagged with:
-
remoteExec an addAction
noricum replied to Harvath.S's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello Community, May someone can help me here too? I ran into a similar Problem and thought i ask/post it here. Basically i try to spawn an object on a dedicated Server with an Action: // Spawn OBj on dedicated Server if (isServer) then { terminal = createVehicle ["Land_DataTerminal_01_F", _rndPos, [], 0, "NONE"]; [terminal, ["Download Intel", "scripts\intel.sqf", nil, 2, true, true, "", "true", 3.5, false]] remoteExec ["addAction",0, true]; }; And here goes the simple Action: //Intel.sqf if (isServer) then { Systemchat "Downloading Intel - STANDBY"; sleep 3; removeAllActions terminal; sleep 2; terminal setdamage 1; Systemchat "Downloading Intel - FINISHED"; sleep 5; deleteVehicle terminal; }; I tried already different ways to get this work, but failed at every attempt (like systemchats are shown, but the object doesn't get deleted) - kinda clueless now. So, if someone could provide me a solution or a hint, what's going on here, it will be highly appreciated!- 19 replies
-
- addaction
- remoteexec
-
(and 2 more)
Tagged with:
-
Trigger activation question MP
noricum replied to noricum's topic in ARMA 3 - MISSION EDITING & SCRIPTING
thanks for the tip, validated steam files and restarted arma. triggers seem to be working again. At least the _trgtest fired, hope it works on dedicated Server too again. -
Trigger activation question MP
noricum replied to noricum's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thank you for your help! Tried different triggers, now i can't get even a simple trigger to work. _trgtest = createTrigger ["EmptyDetector", getPosATL prototype]; sleep 1; systemchat "trigger created"; _trgtest setTriggerActivation ["WEST", "PRESENT", true]; systemchat "trigger activation"; _trgtest setTriggerArea [300,300, 0, false]; systemchat "trigger area"; _trgtest setTriggerType "NONE"; systemchat "trigger type"; _trgtest setTriggerStatements ["this", "hint 'trigger on'", "hint 'trigger off'"]; systemchat "trigger condition"; -
Hello, since the latest update, my trigger wont fire anymore in mp environment and i can't figure out why, maybe someone can help me here. _cond = "{vehicle _x in thisList && isplayer _x && ((getPosATL _x) select 2) < 15} count playableunits > 0"; _trg1 = createTrigger ["EmptyDetector", getPos helotarget2, true]; sleep 1; _trg1 setTriggerActivation ["ANYPLAYER", "PRESENT", false]; _trg1 setTriggerArea [300,300, 0, false]; _trg1 setTriggerType "NONE"; _trg1 setTriggerStatements [_cond,"nul = [helotarget2] execVM ""scripts\Paras.sqf""; ",""]; Any help is appreciated
-
How to remove 1.54 Fatigue - Stamina - Weight?
noricum replied to csk222's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Maybe you should try this player enableStamina false; player forceWalk false; Don't forget to add this in the respawn eventhandler too. -
AddAction and Dedicated Server Issue
noricum replied to noricum's topic in ARMA 3 - MISSION EDITING & SCRIPTING
thank you, going to test it out tonight! -
AddAction and Dedicated Server Issue
noricum replied to noricum's topic in ARMA 3 - MISSION EDITING & SCRIPTING
thanks for your reply, i have the action in the init of the unit, so _this would cause a local variable in global space. -
Dear Community, i'm unable to solve this myself, even though i was searching the whole forum for a suitable fix. Basically i have one guy placed with an action, this addAction [("<t color='#E61616'>" + ("Interrogate") + "</t>"),"task.sqf","",1,true,true,"","(_target distance _this) < 3"] which hides preplaced ammoboxes in an certain area (task.sqf): if (isServer) then { {_pos = ["mr_zone"] call SHK_pos; (createMarker [str round random 999999, _pos]) setMarkerType "o_air"; _x setPos _pos; } foreach [cache1,cache2,cache3]; }; Seems to work fine in the editor, but it's not working on a dedicated server, nothing happens there. Can someone please help me out?
-
thanks for updating and fixing issues! :icon_eek:
- 586 replies
-
- ai spawn script pack
- aissp
-
(and 1 more)
Tagged with:
-
same problem here, vehicles are empty on activated zones.
- 586 replies
-
- ai spawn script pack
- aissp
-
(and 1 more)
Tagged with:
-
tested it yesterday for 2 hours on a mission on a dedicated server, works like a charm...we had civs and civ traffic.
-
Thanks for fixing it!
-
congrats on your work! :bounce3: Just tried the demo Mission in the editor, but i can't get it to work? \MAD_Ambient_Life.Altis\MAD_civilians.sqf, line 273 Error in expression <t + 1; }; } forEach MAD_CivsArray; if (_count < MAD_maxCivDensity) then { [(pos> Error position: <_count < MAD_maxCivDensity) then { [(pos> Error Undefined variable in expression: _count
-
Enemy occupation system (eos)
noricum replied to bangabob's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Alright, was able to reproduce the error. If you don't mind, i'll send you a .pbo file http://www.speedshare.org/download.php?id=64E14BB91 Maybe the size of the marker or that the markers are overlapping cause the problem?