Jump to content

noricum

Member
  • Content Count

    145
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

3 Followers

About noricum

  • Rank
    Sergeant

Contact Methods

  • Biography
    coffee addicted

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. noricum

    remoteExec an addAction

    THANK YOU very much! It works now
  2. noricum

    remoteExec an addAction

    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!
  3. 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.
  4. 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";
  5. 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
  6. Maybe you should try this player enableStamina false; player forceWalk false; Don't forget to add this in the respawn eventhandler too.
  7. thank you, going to test it out tonight!
  8. thanks for your reply, i have the action in the init of the unit, so _this would cause a local variable in global space.
  9. 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?
  10. noricum

    AI Spawn Script Pack

    thanks for updating and fixing issues! :icon_eek:
  11. noricum

    AI Spawn Script Pack

    same problem here, vehicles are empty on activated zones.
  12. tested it yesterday for 2 hours on a mission on a dedicated server, works like a charm...we had civs and civ traffic.
  13. 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
  14. 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?
×