-NHS- Snip
Member-
Content Count
36 -
Joined
-
Last visited
-
Medals
Community Reputation
0 NeutralAbout -NHS- Snip
-
Rank
Private First Class
-
Need some help: many script needed
-NHS- Snip replied to -NHS- Snip's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
i've take it from some missions already working. I don't know why it's not working with mine -
Need some help: many script needed
-NHS- Snip replied to -NHS- Snip's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I have two trigger 1)trueEnd and forceEnd with End no 1 2) with: (param1<10000 and ((time >= param1) or (TimeEnd >= param1))) or (param2<10000 and ((WScore>=param2) or (EScore>=param2))) and TimeEnd=time; publicVariable "TimeEnd"; titletext[format ["Mission over\nFinal score : NATO %1 - Soviet %2", WScore, EScore], "Plain"]; this one look like is ok because it show the score -
Need some help: many script needed
-NHS- Snip replied to -NHS- Snip's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I have a new problem. the mission don't finish. I've try many thing. I have Open a Mission to check the end of this mission, but nothing is good. I thing i have forget something -
Need some help: many script needed
-NHS- Snip replied to -NHS- Snip's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
For the number 1 i have try this in a sqs, and it seem to be ok, they don't start and respawn with grenade and smoke shell: player removeMagazines "HandGrenade_West" player removeMagazines "HandGrenade_East" player removeMagazines "HandGrenade" player removeMagazines "SmokeShell" player removeMagazines "SmokeShellYellow" player removeMagazines "SmokeShellGreen" player removeMagazines "SmokeShellRed" player removeMagazines "SmokeShellOrange" player removeMagazines "SmokeShellPurple" player removeMagazines "SmokeShellBlue" Exit -
Need some help: many script needed
-NHS- Snip replied to -NHS- Snip's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
that is correct? estimatedTimeLeft param1 if (local Host) then {Goto Host;} if (local Host) then {goto Client;} Host test goto end Client if local player end -
Need some help: many script needed
-NHS- Snip replied to -NHS- Snip's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
i mean all the camp, respawn AND the background , i wish to increase the distance between both side, via the menu like for the time and the weather. I think i put the mess with my init. Can someone tell me where are the error? wscore = 0 escore = 0 showscore = false nul=[] execVM "briefing.sqf"; [] exec "timer.sqs" // Use the params set in the description.ext // {"RAINY, DAY", "RAINY, NIGHT", "DAY", "NIGHT"}; combatStatus = Param2; switch ( combatStatus ) do { case 1: { skipTime (12 - daytime + 24 ) % 24; 1 setOvercast 1; 1 setRain 1; }; case 2: { skipTime (23 - daytime + 24 ) % 24; 1 setOvercast 1; 1 setRain 1; }; case 3: { skipTime (12 - daytime + 24 ) % 24; }; case 4: { skipTime (23 - daytime + 24 ) % 24; }; }; estimatedTimeLeft param1 ?(local Host):Goto "Host" ?!(local Host) : goto "Client" #Host #test goto "end" #Client ?! local player : exit #end exit -
Need some help: many script needed
-NHS- Snip replied to -NHS- Snip's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
thanks but my english not so good. Still to find the point one and five (not sure it's possible that one) and to fixe that trigger^^ -
Need some help: many script needed
-NHS- Snip replied to -NHS- Snip's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
sorry i just want to be sure i understood well :). Thank again -
Need some help: many script needed
-NHS- Snip replied to -NHS- Snip's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
so, no possibility to have like a storm? -
Need some help: many script needed
-NHS- Snip replied to -NHS- Snip's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
the param it's ok , i've change it. The error, it seem that it didn't take the weather at all now. When i take the night, it's sunny day -
Need some help: many script needed
-NHS- Snip replied to -NHS- Snip's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
sorry, but this doesn't work -
Need some help: many script needed
-NHS- Snip replied to -NHS- Snip's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
you're great, it work. And I prefere more rain, like a storm. Do you think it's possible? I must change: 1 setOvercast 1 or 1 setRain 1 ? -
Need some help: many script needed
-NHS- Snip replied to -NHS- Snip's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
ok i see for the init.sqs i will try to find something to launch this code: titleParam1 = "Time limit:"; valuesParam1[] = {0, 300, 600, 900}; defValueParam1 = 900; textsParam1[] = {"Unlimited", "10 min", "20 min", "30 min", }; titleParam2 = "Weather:"; valuesParam2[] = {1, 2, 3, 4}; defValueParam2 = 3; textsParam2[] = {"RAINY, DAY", "RAINY, NIGHT", "DAY", "NIGHT"}; -
Need some help: many script needed
-NHS- Snip replied to -NHS- Snip's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
i'm not in the trigger area, at least 200M. what is a init.sqf? edit: I put one trigger activated by east, and a second one wich is activated by west. it seem to be ok -
Need some help: many script needed
-NHS- Snip replied to -NHS- Snip's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
i think i've done something wrong because i die when the mission start because of one trigger. When i take it away it's ok. OnLoadMission = "TDM-Sniper-Casttle-Rock"; OnLoadIntro = "Don't cross border!!!"; OnLoadIntroTime = False; OnLoadMissionTime = False; respawn=3; respawndelay=5; titleParam1 = "Time limit:"; valuesParam1[] = {0, 300, 600, 900}; defValueParam1 = 900; textsParam1[] = {"Unlimited", "10 min", "20 min", "30 min", }; disabledAI = true titleParam2 = "Weather:"; valuesParam2[] = {1, 2, 3, 4}; defValueParam2 = 3; textsParam2[] = {"RAINY, DAY", "RAINY, NIGHT", "DAY", "NIGHT"}; class Header { gameType = TDM; minPlayers = 2; maxPlayers = 16; };