ARMA Series (I, II, III) - It's like the 4th of July!
1,001 replies, posted
[QUOTE=Cuel;39892264]I'd say that's the best way depending on the situation
[editline]12th March 2013[/editline]
what are you guys talking about sqf is really easy
[editline]12th March 2013[/editline]
unless you're the creator of insurgency[/QUOTE]
Was insurgency programmed like shit or something back in Arma 2?
k I've set up a server to test my mission and we have 3 slots if you guys wanna come
search for "Taggart", pass will be "dicks"
I forgot most of the syntax of sqf and relearned it in the past hour or so. its really really easy.
odd, this doesn't seem to be working..
[code]
{
_x setFuel 1;
} forEach allUnits;
--Full code;
_Time = 5;
while {_Time > -1} do
{
_Time = _Time - 1;
if (_Time <= 0) then {
hint "GO! \n The race has begun! Stay above 40km/h and on the road to stay alive!";
_Race = true;
{
_x setFuel 1;
} forEach allUnits;
};
sleep 1;
};
[/code]
[QUOTE=jrj996;39892355]odd, this doesn't seem to be working..
[code]
{
_x setFuel 1;
} forEach allUnits;
--Full code;
_Time = 5;
while {_Time > -1} do
{
_Time = _Time - 1;
if (_Time <= 0) then {
hint "GO! \n The race has begun! Stay above 40km/h and on the road to stay alive!";
_Race = true;
{
_x setFuel 1;
} forEach allUnits;
};
sleep 1;
};
[/code][/QUOTE]
you're trying to set the fuel of unit objects, not their vehicles
use (vehicle _x) instead
and it needs to be done locally. If you're the driver of a car, the vehicle is local to you.
Edit: I also think _time is a reserved variable for how long the script has been running, "time" refers to time elapsed since mission start. So use another variable.
[QUOTE=MadPro119;39892327]Was insurgency programmed like shit or something back in Arma 2?[/QUOTE]
Nah it's really good and really hard to understand because there's no comments at all and every function uses another function basically.
Yeah the whole road thing isn't working :v: Guess these roads don't work with the code yet.
[editline]12th March 2013[/editline]
Wait so loops with if statements don't just work on those who apply to them?
[QUOTE=Oicani Gonzales;39892577]huh
plugging in a 360 controller adds its colored buttons to a3's buttons
why would anyone use a 360 controller in arma[/QUOTE]
Jets, tanks, planes, helicopters?
[QUOTE=Oicani Gonzales;39892577]huh
plugging in a 360 controller adds its colored buttons to a3's buttons
why would anyone use a 360 controller in arma[/QUOTE]
Analogue controls make driving and (sometimes) flying easier. Mainly driving.
If only I could get mine to work correctly.
[QUOTE=maqzek;39892704]Jets, tanks, planes, helicopters?[/QUOTE]
Or just a joystick which gets more realistic and easier when you get used to it
test complete with full 6 man seal team elite
video coming later from duder, but basic sitrep: all works, fun
todo:
maybe add more objectives
maybe add more people (so it's 10 man instead of 6 man)
definitely add more enemies
maybe move/change transmitter tower objective
Is this like not a valid way of doing things?
[code]
_FinishTypes = ["1st","2nd","3rd","4th","5th","6th","7th","8th"];
_racerF = _racerF + 1;
hint format["%1 finished in %2 place!",name player, _FinishTypes select _racerF];
sleep 1;
[/code]
My result is: Jayzor finished in any place
I did that and I just sank to the bottom of the ocean, and then exploded.
because it makes no sense!
[QUOTE=jrj996;39892898]Is this like not a valid way of doing things?
[code]
_FinishTypes = ["1st","2nd","3rd","4th","5th","6th","7th","8th"];
_racerF = _racerF + 1;
hint format["%1 finished in %2 place!",name player, _FinishTypes select _racerF];
sleep 1;
[/code]
My result is: Jayzor finished in any place[/QUOTE]
paste everything you wrote.
[QUOTE=bloboo;39892949]If I make a mission that has a custom weapon in a gear box, and other players don't have that custom weapon installed previously, will they download the weapon from the server and have it work fine? Or do they have to download the mod for the weapon to work properly?
I'm just wondering because the map I'm making, I'm wondering if I will have to make a custom gear box from scratch that doesn't contain the weapon or if I can just use the crate filler script from BIS forums.[/QUOTE]
they need to download and install it
[QUOTE=Jocke;39892870]Or just a joystick which gets more realistic and easier when you get used to it[/QUOTE]
Joysticks can be pretty expensive.
What is the server for Arma 3?
[QUOTE=laserguided;39892942]because it makes no sense![/QUOTE]
_racerF is defined as -1, so I have it whenever the script is called it means that another racer has finished, I'm trying to call the number of racers finished so the first person that finishes has the first place title(being 0 in this case)
[QUOTE=cdr248;39892976]What is the server for Arma 3?[/QUOTE]
what?
Sorry, you need to Log In to post a reply to this thread.