-
Content Count
1194 -
Joined
-
Last visited
-
Medals
Everything posted by stanhope
-
screenshot How to recognize coordinates of 4 corners of screenshot
stanhope replied to 5mpower's topic in ARMA 3 - MISSION EDITING & SCRIPTING
https://community.bistudio.com/wiki/screenToWorld With [0,0], [0,1], [1,0],[1,1]- 15 replies
-
- 3
-
- dimensions
- boundingbox
-
(and 2 more)
Tagged with:
-
Shifting MAIN profile folder ("Arma 3") from default location (Users\My Documents\) to another drive/location?
stanhope replied to The Spirit of Morpheus's topic in ARMA 3 - QUESTIONS & ANSWERS
Make a symlink to the place you want it to be at? (I use directory junctions for stuff like that, so /J) -
How do I add a cooldown to a script
stanhope replied to steam-76561198069261992's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Server stuff is not something I'm good at -
How do I add a cooldown to a script
stanhope replied to steam-76561198069261992's topic in ARMA 3 - MISSION EDITING & SCRIPTING
The code he put in his reply sets the cooldown to the player. This has the side-effect that once the cooldown is active it's active for all the crates. If you want the cooldown for the crate replace _caller with _crate in the code of the addaction and _this with _target in the condition -
Does this also happen if you don't have any mods active?
-
Return players to base script
stanhope replied to Churizo1's topic in ARMA 3 - MISSION EDITING & SCRIPTING
_veh setVelocity [0,0,0]; private _units = nearestObjects [getPos _veh,["Man"],15]; { private _unit = _x select 0; moveOut _unit; _units pushBack _unit; } forEach (fullCrew _veh); {_x setPos (_start getPos [2, 180]);} forEach _units; uisleep 0.2; if (alive _veh ) then { deleteVehicle _veh }; Untested If that still doesn't move the copilot try adding {_units pushBackUnique _x} forEach crew _veh -
How do I add a cooldown to a script
stanhope replied to steam-76561198069261992's topic in ARMA 3 - MISSION EDITING & SCRIPTING
In the condition of the addaction so: vuilnisbak1 addAction [ "<t color=""#0EEBE4"">Verzamel Vuilnis</t>", "Vuilnisjob\vuilnisbak1.sqf", nil, 1, true, false, "", "time > nextRunTime" ]; Be sure to initialize nextRunTime in initplayer, either set it to 0 or to the current time. -
How do I add a cooldown to a script
stanhope replied to steam-76561198069261992's topic in ARMA 3 - MISSION EDITING & SCRIPTING
put this somewhere in the execution part of the script: nextRunTime = time + 120; put this in the condition of the action time > nextRunTime untested -
Forced radial blur with optical sights since hotfix...
stanhope replied to coffeeshock's topic in ARMA 3 - TROUBLESHOOTING
Are you trying to troubleshoot an issue or are you saying that there's a bug in the game? -
Assemble the darter, open the terminal in the top left there's a dropdown, select the darter, either take control manually or shift (or ctrl, I don't remember) left click on the map, right click to alter the settings of that waypoint. Once the darter is in a position you're comfortable with, take control of the gunner seat, press N to cycle between vis, NVG and IR, numpad + & - to zoom in and out (iirc). Left click to activate the lase Spoiler ahead:
- 1 reply
-
- 1
-
addaction and trigger conditions
stanhope replied to SGT Major Ray Jefferson's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Easiest is probably to have the addaction set a variable to a certain value, have the other trigger set another variable to a certain value and in the trigger check for those 2 values -
Weapon restrictions for specific roles
stanhope replied to MrSydney's topic in ARMA 3 - MISSION EDITING & SCRIPTING
My inventory clean function is called from inventory closed, take, arsenal closed & fired event handlers (the last one doesn't really have to be there)- 7 replies
-
- arsenal
- restriction
-
(and 2 more)
Tagged with:
-
New player: Situation normal
stanhope replied to ISlowLearner's topic in ARMA 3 - QUESTIONS & ANSWERS
Spoilers ahead: Additionally, I don't know which difficulty you play on but you could try to lower it. -
Weapon restrictions for specific roles
stanhope replied to MrSydney's topic in ARMA 3 - MISSION EDITING & SCRIPTING
See Combine that with typeOf unit or roleDescription or something.- 7 replies
-
- arsenal
- restriction
-
(and 2 more)
Tagged with:
-
In either of these folders: C:\Users\yourUser\Documents\Arma 3\*.Arma3Profile C:\Users\yourUser\Documents\Arma 3 - Other Profiles\yourProfile\*.Arma3Profile There will be 3 files ending with .arma3profile. Those are where keybinds etc are stored. But you probably want to back-up those entire folders with all subfolders of them, as they contain mission progression etc.
-
Save File Issues in long missions Arma 3
stanhope replied to beqanyc's topic in ARMA 3 - TROUBLESHOOTING
What causes the save file to get bigger and bigger? -
Warlords missions erros
stanhope replied to usamarine6600's topic in ARMA 3 - MISSION EDITING & SCRIPTING
The link you posted requires us to ask for permission. Did you edit the mission at all? Or did you just take it and host it? -
Warlords missions erros
stanhope replied to usamarine6600's topic in ARMA 3 - MISSION EDITING & SCRIPTING
You have 2 undefined variables and 1 param that's a string while a number is expected. -
Have flares shoot off every 30 seconds?
stanhope replied to BlackbirdSD's topic in ARMA 3 - MISSION EDITING & SCRIPTING
private _flr = (format ["F_20mm_%1", _color]) createvehicle (_pos getPos [10 + random 90, random 360]); -
Have flares shoot off every 30 seconds?
stanhope replied to BlackbirdSD's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Use the alternate syntax 2 of getpos with random. -
screenshot Need a help with save parameters file (log file) somewhere
stanhope replied to 5mpower's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Do you need to be able to access the data in game again or just export it? If you need to be able to access it again: saveProfileNamespace is indeed the way to go. Using profileNamespace setVariable ["your_prefix_dim",[x,y,z,...]]; and then saveprofilenamespace, to load it again, use profileNamespace getVariable ["your_prefix_dim",[]; If you do not need to access the data again: diag_log to write it to your RPT or copyToClipboard to copy it to your clipboard -
Problem with setVariable, getVariable in editing FAR revive
stanhope replied to lululala22's topic in ARMA 3 - MISSION EDITING & SCRIPTING
How does it not work? Does it give a script error, does the variable not get updated, ...? -
Have flares shoot off every 30 seconds?
stanhope replied to BlackbirdSD's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Set velocity is to have it move downward upon spawn, _area is a misleading name (so is _pos btw) as it's used by modelToWorld to determine where in relation to the player the flare will spawn. In this case, 200 meters above the player and 100 meters in front (I think, might be off to the sides as well) -
technical problem My arma does not start
stanhope replied to Ufiq's topic in ARMA 3 - QUESTIONS & ANSWERS
What have you already tried? Does it give you any kind of error? Does it show the loading thing or does it go to full screen? If it goes to full screen, do you see the loading screen or just black? Have you verified your game files? (Steam, right click on arma, properties, local files, verify) -
Have flares shoot off every 30 seconds?
stanhope replied to BlackbirdSD's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Which flares? The ones from the starter pistol, the ones fired from under-barrel 40mm grenade launchers, modded ones, ...?