-
Content Count
3518 -
Joined
-
Last visited
-
Medals
Community Reputation
2690 ExcellentAbout Larrow
-
Rank
Chief Warrant Officer
Profile Information
-
Gender
Male
-
Location
LAR setpos (you getpos [-2,getdir you]);LAR say3d["BOO!"]
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Larrow started following Reveal and condition, Copy and Paste Items from Cargo Box, Sectors Cap Even if Numbers are Even and and 1 other
-
Copy and Paste Items from Cargo Box
Larrow replied to aurora1-4's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Just an idea, thoroughly untested other than the linked scripts( see top comment ). Likely mistakes that need fixing. -
Sectors Cap Even if Numbers are Even
Larrow replied to Wiket's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Check their threat value in the config, this is the value used by sectors as the influence towards capturing a sector. Taken from moduleSector code... -
You cannot use the local variables _CHeli and _Vehicle in the waypoint statements as they will be out of scope. Rather than having the _vehicle spawn a script that is always waiting from its initial inception as shown by @pierremgi use the waypoint where you unhook it to start adding waypoints once it's touching the ground.
-
setunconscious not working on player when called from a script
Larrow replied to tpw's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Updated my links in this thread, this is old I have not confirmed these are working or any longer the correct way to handle this, I have just updated the links to the original files. -
So this is the deciding factor on whether these code blocks (forEach/apply/select) get improved execution through Simple VM? What constitutes setting a local variable? ie do local vars within the immediate scope of commands code block count or are we talking about anything currently in scope ( What is this, something related to accessing the stack )? Sorry if this is a stupid question, just trying to understand what constitutes improved execution.
-
Can someone elaborate on these changes, please... In what sense? LA/GA or LE/GE? Or just something that will not be noticeable to the end user? What is meant by 'Simple VM support'? I get no hits in the wiki. How does if/then/else support it? (maybe answered if I knew what it was :D) I see no changes to the wiki pages.
-
Dont think it will be the easiest thing to accomplish well, but I would experiment with something like... key/mouseDown event > check inputAction "reveal" > check there is a cursorObject > check targetAggregate maxAge of the cursorObject to make sure it is only just been seen. possibly?
-
Larrow started following Disabling the move map to player location, Delete multiple squads, Disabling High command 3D(not map) enemy icons and and 1 other
-
Disabling High command 3D(not map) enemy icons
Larrow replied to redarmy's topic in ARMA 3 - MISSION EDITING & SCRIPTING
What about changing the groupIconParams for all BIS_marta_mainScope enemyGroups when the map is open? Something like... ...untested, just thinking out loud. -
-
Disabling High command 3D(not map) enemy icons
Larrow replied to redarmy's topic in ARMA 3 - MISSION EDITING & SCRIPTING
The MARTA system has some rules and variables for setting individual groups/faction/sides, but not sure about just for the 3D icons. -
Marker teleporting to corner of map
Larrow replied to Yyo's topic in ARMA 3 - MISSION EDITING & SCRIPTING
As some times the selectRandom in your initServer script is selecting the markers "EastRESPmkr_2" or "EastRESPmkr_3" which have not been created yet/been removed (sector not captured). So getting the position of these markers returns [0,0,0] so the "MGIRespEastAI" gets placed there ([0,0,0] == corner of the map). [] spawn { while {true} do { sleep 5; //Only markers that currently exist _activeMarkers = [ "EastRESPmkr", "EastRESPmkr_1", "EastRESPmkr_3", "EastRESPmkr_2" ] select{ getMarkerPos _x isNotEqualTo [0,0,0] }; "MGIRespEastAI" setMarkerPos getMarkerPos(selectRandom _activeMarkers); }; }; -
Disabling the move map to player location
Larrow replied to cannonouscrash's topic in ARMA 3 - MISSION EDITING & SCRIPTING
addMissionEventHandler[ "Map", { params[ "_mapIsOpened" ]; if ( _mapIsOpened ) then { _display = uiNamespace getVariable "RSCDiary"; _ctrl = _display displayCtrl 1202; _ctrl ctrlEnable false; _ctrl ctrlSetTextColor [0,0,0,0]; _ctrl ctrlSetTooltip ""; _ctrl ctrlCommit 0; }; }]; untested -
Run a script on behalf of a specific player (MP)
Larrow replied to simicsko's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Should work, if your heal action works I'm not sure why the other wouldn't. Just exec the script to apply the menu from the initPlayerLocal.sqf if the player is Alpha_1 or Bravo_1. May have to wait on the player being not null and alive depending on your respawn settings, but again if your heal is working I would expect the other to work also. -
Sorry been ill for a couple of weeks and really didn't have the mindset to look into this at the time, did you get this sorted @ARCH93? or you still need help?
-
Disabling the move map to player location
Larrow replied to cannonouscrash's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Better off using some of the new event handlers nowadays rather than this while loop. See addMissionEventHandler Map.