Mike84
-
Content Count
208 -
Joined
-
Last visited
-
Medals
Posts posted by Mike84
-
-
Found out what problem was with shtrum not targetting tanks. If tanks engine is off in it wont target it, might be like heat system.
That shouldn't be the case. The shturm is a radio guided saclos missile, which is means it's targeted by a human and guided by a computer.
If you can reproduce that behaviour, you should probably report it as a bug.
-
Yeh, it's supposed to be that way. They didnt have a way to turn a twin 30mm gun at that time I think like how they did it with the black shark, but I'm just assuming here.
-
Isn't the this variable in a trigger the boolean value of the trigger itself? If so, it is kinda useless to work on that variable.
What you could do is using thisList select 0, which will select the 1st unit which is present in the trigger, and work on that.
-
If you name the vehicle blah, then you can do:
if ( vehicle player == blah ) then { do your thing; }; -
nvm, found it
-
Everything about missiles in arma2 should definitely be changed. Right now we have radio and laser guided SACLOS atgm's, but there is no way to radio jam or even to detect the laser beam since those things are just not modeled.
I've kinda been trying to create a system to use with the lav-25 that does those things and more, but the lack of attention to detail by BIS isn't really making it easy for me.
-
"nul =" means youre saving the script handle to the nul variable (i usually use that for trash)
"[]" means you're passing it an empty array
Both things are required in the editor, but in a script file they aren't, so usually they are omited.
-
Reading is an art...
-
Could be a couple of things. It might be a lack of a briefing.html, teh briefing might have been disabled in the description.ext (briefing=0), or something in your HCS might be messing something up.
If that doesn't work, try to comment everything out, and uncomment a line at every try until something breaks.
-
-
This works for respawning players and briefing. Didn't see this in the previous 17 pages...Because it has been in my template for quite some time already?
-
To only give the action to a gunner:
_vehicle addAction ["Toggle FLIR", "script\FLIR_main.sqf", [], 1, false, false, "", "(player != vehicle player) && (gunner vehicle player == player)"];
Great work btw Gachopin.
-
I put it in a radio trigger, and it seemed to work fine, so maybe something else is wrong?
And you move the task markers by just using the setSimpleTaskDestination command again.
-
tskObj1 setSimpleTaskDestination (getMarkerPos "blaaaaa")
and
tskObj1 setSimpleTaskDestination [0,0]
replaces the objective marker without a problem
Can you show me your code imutep?
-
To be honest, I do assume that readers of this tutorial know at least how to make missions and/or sqf files (if you don't know how to, why would you wanna make a briefing in the first place?).
If you do want to learn those things, visit ofpec.
-
First of all, 15 pages already!?! I did not expect that :)
Secondly, I've updated the tutorial and the briefing templates, so do check out the first post again.
Thirdly, I've posted my taskHint function at ofpec, do check that out as well.
@imutep, try to set the task destination somewhere else. You could give it a bogus marker name for example, and the game engine will place the marker at [0,0]
-
It's because toString uses those numeric values as ascii values, that's why i'm doing a + 48 there.
If you absorb this table, you'll see why.
and to do that thing, just remove the parseNumber function call in the mk_fArrayToNumber function, so it won't be converted to an integer.
-
I hope this is correct (latenight coding always gets me):
mk_fArrayToNumber = { _arr = _this; _output = []; { _output set[count _output, _x + 48] }forEach _arr; parseNumber(toString(_output)) };execute the function like so:
_numberValue = [1,2,3] call mk_fArrayToNumber;
-
if you mean the value 2, then use:
_array = [ [1,2,3], ["m16","ak","g36"] ];
_var = ((_array select 0) select 1);
basically the parenthesis manipulate the order of precedence (what gets evaluated first (innermost first)). So first it grabs the pos (i assume) array which is the 1st element of _array (array counting starts at 0)
[1,2,3]
and then its grabs the 2nd element from that array
2
-
no, you need to run the command on all clients
-
What about reporting Bis or trackir to the european commision? I think Neelie Kroes likes this kinda stuff...
-
For people having problems, try out the briefing template that I use:
@callaway
It should be the 3rd element of the array you pass to setSimpleTaskDescription.
-
_time = [daytime] call bis_fnc_TimeToString
-
A lot of errors could've been prevented by following the language rules, like in sqf always end statements by a semicolon.
a few errors worth mentioning:
- there is no public needed, all vars without an underscore have global scope
- the control structures are totally wrong. You need "if () then {}", and "while {} do {}". I suggest you read the biki or any sqf tutorial on this
- there is no exit command in sqf
ARMA2 patch 1.03 creators are PIZDABOLS !
in ARMA 2 & OA - GENERAL
Posted · Edited by Placebo
[iM]http://i84.photobucket.com/albums/k26/blueshoes12/ibtl.gif[/img]>100kb