-
Content Count
2494 -
Joined
-
Last visited
-
Medals
Everything posted by sarogahtyp
-
Creating Triggers with ForEach HELP
sarogahtyp replied to .Marti's topic in ARMA 3 - MISSION EDITING & SCRIPTING
The solution could be a global variable wherein u store all groups. In your setTriggerStatements-part u can't use the _x of the outer scope in the strings because that _x is not known there on the time of execution. You have to use a global variable to get the desired groups there. -
unitTurret wiki correct?
sarogahtyp replied to -JpS-RaptorMan's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thus command delivers all information about a vehicles crew and seats: https://community.bistudio.com/wiki/fullCrew -
Trouble with say3D
sarogahtyp replied to Salty_Pepper's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thats just realism: https://en.wikipedia.org/wiki/Doppler_effect -
loot spawner [RELEASE] Sarogahtyps Simple Loot Spawner - SSLS V-1.2
sarogahtyp replied to sarogahtyp's topic in ARMA 3 - MISSION EDITING & SCRIPTING
u have to build a mission with it... scripts are working in missions only and not by adding them to armas root folder. -
Identify the player that has a specific name
sarogahtyp replied to Enigx's topic in ARMA 3 - MISSION EDITING & SCRIPTING
_nameString = ... <- name of ur desired player _playerObject = allPlayers select ( allPlayers findIf {(name _x) isEqualTo _nameString;} ); -
Enter a locked Vehicle
sarogahtyp replied to Witch_Hunter's topic in ARMA 3 - MISSION EDITING & SCRIPTING
If (side player isEqualTo civilian) then {player moveInAny _vehicleObject;}; this is not the solution but could be part of it. A good way to get a specific answer is to ask a specific question AND to show what you tried already. Only very few guys will do all the work for you and give you your all-in-one-solution... -
Shutting down Linux server through SQF
sarogahtyp replied to maihym's topic in ARMA 3 - MISSION EDITING & SCRIPTING
https://community.bistudio.com/wiki/serverCommand https://community.bistudio.com/wiki/Multiplayer_Server_Commands#Commands -
it's not the best idea to choose such a complex scenario to create if one has no idea how anything of it could be done... This is the way to go: https://forums.bohemia.net/forums/topic/229245-scripting-guides-tutorials-compilation-list/ https://forums.bohemia.net/forums/topic/183993-scripting-introduction-for-new-scripters/
-
unit capture /unit play
sarogahtyp replied to darrent's topic in ARMA 3 - MISSION EDITING & SCRIPTING
show ur code! -
How to tell if a script has run for loadout purposes
sarogahtyp replied to Blitzen88's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Are u sure that isnil check is enough with it? @pierremgi i thougth there has to be a check if its true as well... -
How to tell if a script has run for loadout purposes
sarogahtyp replied to Blitzen88's topic in ARMA 3 - MISSION EDITING & SCRIPTING
you could use scriptDone as mentioned by @pierremgi by spawning your sqs script and storing the handle. Or u set a global variable at the end of ur sqs script and then test if it exists. In that case ur init field could look like: [] spawn { waitUntil {sleep 0.1; !isNil {yourGlobalVariable} }; // here your code to start scripts after init is run }; -
Complete task when wearing a specific uniform and weapon
sarogahtyp replied to CoughCough's topic in ARMA 3 - MISSION EDITING & SCRIPTING
condition for Helmet and Vest and Weapon: (uniform player isEqualTo "specific_uniform_classname" && vest player isEqualTo "specific_vest_classname" && currentWeapon player isEqualTo "specific_weapon_classname") if one of those items should be enough to complete the task then it is: (uniform player isEqualTo "specific_uniform_classname" || vest player isEqualTo "specific_vest_classname" || currentWeapon player isEqualTo "specific_weapon_classname")- 1 reply
-
- 3
-
Animate ‘’ VTV ‘’ points (tow truck)
sarogahtyp replied to Grinder Clipper's topic in ARMA 3 - MISSION EDITING & SCRIPTING
sounds like an addon question. if thats the case then its better to ask there: https://forums.bohemia.net/forums/forum/162-arma-3-addons-configs-scripting/ -
Just as i showed above... did u try?
-
You have to name the leaders of the groups with variable names like leader1, leader2 ... In your trigger you write: _grp = group player; If (_grp isEqualTo group leader1) then {playMusic "track1";}; If (_grp isEqualTo group leader2) then {playMusic "track2";}; If (_grp isEqualTo group leader3) then {playMusic "track3";};
-
code?
-
#monitor...... What do the numbers mean?
sarogahtyp replied to kremator's topic in ARMA 3 - SERVERS & ADMINISTRATION
screenshot? -
Client DLing Mission From Dedi They've Already Subbed To.
sarogahtyp replied to beno_83au's topic in ARMA 3 - SERVERS & ADMINISTRATION
clients should download the .pbo whereever (maybe dropbox) and move it in the folder descibed in above thread -
Custom Missile Warheads?
sarogahtyp replied to JoMiMi's topic in ARMA 3 - MISSION EDITING & SCRIPTING
U could track the missile (using Fired-EH) after launch and spawn a smoke grenade or something similar shortly before touchdown and delete the missile For a bigger smoke effect use arty smoke rounds -
Mission has anomalous behavior on server
sarogahtyp replied to Luft08's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Ill not roll another dice to realize that u knew the result already! Show the problem instead of eplaining mysterious things which happen ... show code! -
Mission has anomalous behavior on server
sarogahtyp replied to Luft08's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Just use _array = nil; to destroy it -
shouldn't make a difference
-
google helps! https://community.bistudio.com/wiki/Crash_Files#Arma_3 What? I thought you are running what u showed...
-
sry, but I can't see any reason for this beviour... should just work... you could try a sleep 0.5 after first unit play command. maybe it's a timing problem, but I doubt that this helps. do you have any output in ur .rpt file?