-
Content Count
4330 -
Joined
-
Last visited
-
Medals
-
Medals
Everything posted by R3vo
-
Virtual Arsenal loadouts not working correctly
R3vo replied to kilo1-1's topic in ARMA 3 - MISSION EDITING & SCRIPTING
KillZoneKid wrote a great guide for multiplayer scripting for this. http://killzonekid.com/arma-scripting-tutorials-basic-multiplayer-coding-v2/ -
BLUFOR detected by OPFOR
R3vo replied to heinzmcdurgen's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Whether you are detected or not, depends on the knowsAbout value. When you get spotted the value increases. However, if you kill the unit instantly after you've been spotted, the value will only decrease slowly, thus, the trigger's condition keeps beeing true. I used a different, but similary approach. [color="#FF8040"][color="#191970"][b]while[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#000000"]true[/color][color="#8B3E2F"][b]}[/b][/color] [color="#191970"][b]do[/b][/color] [color="#8B3E2F"][b]{[/b][/color] [color="#191970"][b]if[/b][/color][color="#8B3E2F"][b]([/b][/color][color="#1874CD"]_knowsAbout[/color] [color="#8B3E2F"][b]<[/b][/color] [color="#FF0000"]4[/color][color="#8B3E2F"][b])[/b][/color] [color="#191970"][b]then[/b][/color] [color="#8B3E2F"][b]{[/b][/color] [color="#1874CD"]_knowsAbout[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#000000"]east[/color] [color="#191970"][b]knowsAbout[/b][/color] [color="#000000"]player[/color][color="#8B3E2F"][b];[/b][/color] [color="#1874CD"]_knowsAboutPerc[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#191970"][b]round[/b][/color] [color="#1874CD"]_knowsAbout[/color][color="#8B3E2F"][b]*[/b][/color][color="#FF0000"]100[/color][color="#8B3E2F"][b]/[/b][/color][color="#FF0000"]4[/color][color="#8B3E2F"][b];[/b][/color] [color="#191970"][b]hintSilent[/b][/color] [color="#191970"][b]format[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#7A7A7A"]"Level of awareness: %1%2"[/color][color="#8B3E2F"][b],[/b][/color][color="#1874CD"]_knowsAboutPerc[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"%"[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#191970"][b]sleep[/b][/color] [color="#FF0000"]0.01[/color][color="#8B3E2F"][b];[/b][/color] [color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color] [/color] Made with KK's SQF to BBCode Converter This basically shows the player a hint with the Level of awareness of enemy units. This is important, because otherwise the player can't know if he has been detected or now. The if condition is optional, I just wanted it to end at a value of 4, since that is the maximum anyway. What you can now do is, write a script which fires a alarm if the value knowsAbout returns if greater than 2 (for example) [color="#FF8040"][color="#8B3E2F"][b]{[/b][/color] [color="#191970"][b]if[/b][/color] [color="#8B3E2F"][b]([/b][/color][color="#191970"][b]side[/b][/color] [color="#000000"]_x[/color] [color="#8B3E2F"][b]=[/b][/color][color="#8B3E2F"][b]=[/b][/color] [color="#000000"]east[/color][color="#8B3E2F"][b])[/b][/color] [color="#191970"][b]then[/b][/color] [color="#8B3E2F"][b]{[/b][/color] [color="#000000"]_x[/color] [color="#191970"][b]setBehaviour[/b][/color] [color="#7A7A7A"]"AWARE"[/color] [color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#8B3E2F"][b]}[/b][/color][color="#191970"][b]forEach[/b][/color] [color="#191970"][b]allUnits[/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#191970"][b]while[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#000000"]true[/color][color="#8B3E2F"][b]}[/b][/color] [color="#191970"][b]do[/b][/color] [color="#8B3E2F"][b]{[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#000000"]_x[/color] [color="#191970"][b]say3D[/b][/color] [color="#7A7A7A"]"Alarm"[/color][color="#8B3E2F"][b]}[/b][/color] [color="#191970"][b]forEach[/b][/color] [color="#8B3E2F"][b][[/b][/color]speaker1[color="#8B3E2F"][b],[/b][/color]speaker2[color="#8B3E2F"][b],[/b][/color]speaker3[color="#8B3E2F"][b],[/b][/color]speaker4[color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#191970"][b]sleep[/b][/color] [color="#FF0000"]3[/color][color="#8B3E2F"][b];[/b][/color] [color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color] [/color] Made with KK's SQF to BBCode Converter This is my alarm script. This script will play some sound from 4 speakers when the player has been detected. In addition, you can add some flares if you want to. [color="#FF8040"][color="#1874CD"]_flarePos1[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b][[/b][/color]speaker1[color="#8B3E2F"][b],[/b][/color] [color="#191970"][b]random[/b][/color] [color="#FF0000"]100[/color][color="#8B3E2F"][b],[/b][/color] [color="#191970"][b]random[/b][/color] [color="#FF0000"]360[/color][color="#8B3E2F"][b]][/b][/color] [color="#191970"][b]call[/b][/color] BIS_fnc_relPos[color="#8B3E2F"][b];[/b][/color] [color="#1874CD"]_flarePos2[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b][[/b][/color]speaker2[color="#8B3E2F"][b],[/b][/color] [color="#191970"][b]random[/b][/color] [color="#FF0000"]100[/color][color="#8B3E2F"][b],[/b][/color] [color="#191970"][b]random[/b][/color] [color="#FF0000"]360[/color][color="#8B3E2F"][b]][/b][/color] [color="#191970"][b]call[/b][/color] BIS_fnc_relPos[color="#8B3E2F"][b];[/b][/color] [color="#1874CD"]_flarePos3[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b][[/b][/color]speaker3[color="#8B3E2F"][b],[/b][/color] [color="#191970"][b]random[/b][/color] [color="#FF0000"]100[/color][color="#8B3E2F"][b],[/b][/color] [color="#191970"][b]random[/b][/color] [color="#FF0000"]360[/color][color="#8B3E2F"][b]][/b][/color] [color="#191970"][b]call[/b][/color] BIS_fnc_relPos[color="#8B3E2F"][b];[/b][/color] [color="#1874CD"]_flarePos4[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b][[/b][/color]speaker4[color="#8B3E2F"][b],[/b][/color] [color="#191970"][b]random[/b][/color] [color="#FF0000"]100[/color][color="#8B3E2F"][b],[/b][/color] [color="#191970"][b]random[/b][/color] [color="#FF0000"]360[/color][color="#8B3E2F"][b]][/b][/color] [color="#191970"][b]call[/b][/color] BIS_fnc_relPos[color="#8B3E2F"][b];[/b][/color] [color="#191970"][b]while[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#000000"]true[/color][color="#8B3E2F"][b]}[/b][/color] [color="#191970"][b]do[/b][/color] [color="#8B3E2F"][b]{[/b][/color] [color="#1874CD"]_flare1[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#191970"][b]createVehicle[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#7A7A7A"]"F_20mm_Red"[/color][color="#8B3E2F"][b],[/b][/color] [color="#1874CD"]_flarePos1[/color][color="#8B3E2F"][b],[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color] [color="#7A7A7A"]"NONE"[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#1874CD"]_flare2[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#191970"][b]createVehicle[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#7A7A7A"]"F_20mm_Red"[/color][color="#8B3E2F"][b],[/b][/color] [color="#1874CD"]_flarePos2[/color][color="#8B3E2F"][b],[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color] [color="#7A7A7A"]"NONE"[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#1874CD"]_flare3[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#191970"][b]createVehicle[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#7A7A7A"]"F_20mm_Red"[/color][color="#8B3E2F"][b],[/b][/color] [color="#1874CD"]_flarePos3[/color][color="#8B3E2F"][b],[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color] [color="#7A7A7A"]"NONE"[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#1874CD"]_flare4[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#191970"][b]createVehicle[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#7A7A7A"]"F_20mm_Red"[/color][color="#8B3E2F"][b],[/b][/color] [color="#1874CD"]_flarePos4[/color][color="#8B3E2F"][b],[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color] [color="#7A7A7A"]"NONE"[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#000000"]_x[/color] [color="#191970"][b]setPosATL[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#191970"][b]getPosATL[/b][/color] [color="#000000"]_x[/color] [color="#191970"][b]select[/b][/color] [color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color] [color="#191970"][b]getPosATL[/b][/color] [color="#000000"]_x[/color] [color="#191970"][b]select[/b][/color] [color="#FF0000"]1[/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]150[/color] [color="#8B3E2F"][b]+[/b][/color] [color="#8B3E2F"][b]([/b][/color][color="#191970"][b]random[/b][/color] [color="#FF0000"]75[/color][color="#8B3E2F"][b])[/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b]}[/b][/color] [color="#191970"][b]forEach[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#1874CD"]_flare1[/color][color="#8B3E2F"][b],[/b][/color][color="#1874CD"]_flare2[/color][color="#8B3E2F"][b],[/b][/color][color="#1874CD"]_flare3[/color][color="#8B3E2F"][b],[/b][/color][color="#1874CD"]_flare4[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#000000"]_x[/color] [color="#191970"][b]setVelocity[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]-0.01[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b]}[/b][/color] [color="#191970"][b]forEach[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#1874CD"]_flare1[/color][color="#8B3E2F"][b],[/b][/color][color="#1874CD"]_flare2[/color][color="#8B3E2F"][b],[/b][/color][color="#1874CD"]_flare3[/color][color="#8B3E2F"][b],[/b][/color][color="#1874CD"]_flare4[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#191970"][b]sleep[/b][/color] [color="#FF0000"]20[/color][color="#8B3E2F"][b];[/b][/color] [color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color][/color] Made with KK's SQF to BBCode Converter All in all, it's a different approach, but it just works splendit, if you figure out what knowsAbout value is reasonable. I hope some guys with more scripting experience will post here, since I'm also quite curious to see other solutions for stealth missions. -
Trying to loop a something. need help
R3vo replied to citazenman's topic in ARMA 3 - MISSION EDITING & SCRIPTING
[color="#FF8040"][color="#191970"][b]while[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#000000"]true[/color][color="#8B3E2F"][b]}[/b][/color] [color="#191970"][b]do[/b][/color] [color="#8B3E2F"][b]{[/b][/color] [color="#8B3E2F"][b]{[/b][/color] [color="#191970"][b]if[/b][/color] [color="#8B3E2F"][b]([/b][/color][color="#8B3E2F"][b]([/b][/color][color="#191970"][b]side[/b][/color] [color="#000000"]_x[/color][color="#8B3E2F"][b])[/b][/color] [color="#8B3E2F"][b]=[/b][/color][color="#8B3E2F"][b]=[/b][/color] [color="#000000"]west[/color][color="#8B3E2F"][b])[/b][/color] [color="#191970"][b]then[/b][/color] [color="#8B3E2F"][b]{[/b][/color] [color="#000000"]_x[/color] [color="#191970"][b]call[/b][/color] btc_qr_fnc_unit_init [color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#8B3E2F"][b]}[/b][/color] [color="#191970"][b]forEach[/b][/color] [color="#191970"][b]allUnits[/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#191970"][b]sleep[/b][/color] [color="#FF0000"]10[/color][color="#8B3E2F"][b];[/b][/color] [color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color][/color] Made with KK's SQF to BBCode Converter There you go -
I think they already know about this issue.
-
Guess most things you said are true. However, I think future mods will make good use of the FFV for tank crew members. For example, turning out will be a huge improvement for the tanks of the RHSE mod, since those T-72 and T-80 don't have thermals or remotely controlled turrets.
-
Yes I was refering to MBTs, which don't have an elevateable turret (yet)
-
Yeah, you are right, I absolutely forgot about inertia. And it's true that this feature is awesome, but won't find much use in most scenarios. I've actually never used it in a serious mission. However, there is one use for the commander turn out feature. You can hide the the whole tank behind a hill and still be able to peak over it.
-
Some weapons should definitely blacklisted. Of course with the option to whitelist them with scripting.
-
Why would you put your pagefile from a faster to a slower drive ? Leave the pagefile as it was. In addition, did you notice any driver updating ? Maybe that's causing an issue. Also, you can check you Event Viewer if anything happend during the last days.
-
I only experienced this issue, when the time was set to x4 speed
-
Is it on purpose, that the Simulation Manager Module doesn't work for popup targets and similar?
-
I'll try a different location then.
-
ADD: Added wind noises to trees Didn't noticed any new tree win noises. Even with wind at 100%.
-
May I ask, if the quartermaster could add an "Empty" button? To remove all items at once ? In addition, I noticed that thermal and night vision view is toggled even when you're naming one of the loadouts.
-
Authentic Gameplay Modification
R3vo replied to koffeinflummi's topic in ARMA 3 - ADDONS & MODS: COMPLETE
I don't want to bother you guys with this right now. I'll investigate that issue further. I'm going to report back, if I find something new. -
Authentic Gameplay Modification
R3vo replied to koffeinflummi's topic in ARMA 3 - ADDONS & MODS: COMPLETE
That's strange, I've just tested it again, without AGM but with all other mods. And it works again now. -
Authentic Gameplay Modification
R3vo replied to koffeinflummi's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Is is just me whose game freezes when looking through scopes/rangefinder when using agm ? -
Authentic Gameplay Modification
R3vo replied to koffeinflummi's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Awesome, thanks! -
Authentic Gameplay Modification
R3vo replied to koffeinflummi's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Hey folks, I've got two questions: Firstly, what's the best way to check if AGM is running in a singleplayer scenario ? and secondly, will you add Arma 3 Spotter to the mod at some point ? -
Hey devs, I just noticed that there is still no waypoint which makes a helicopter land. One still needs to tediously fiddle around with waypoint conditions to get this to work. Would it be possible to make this more user friendly ? Especially for new players?
-
ZBE_Cache AI & Vehicle caching script/addon
R3vo replied to zorrobyte's topic in ARMA 3 - ADDONS & MODS: COMPLETE
carCacheDistance = How does the player needs to be away from cars until they get "cached" (hidden) This applies to boatCachDistance and airCachDistance as well -
The waypoint types you can choose in the drone menu and in the editor are the same
-
Yeh lol, why didn't I think of that :D However, the exploding barrel or fuel truck won't work since it's a stealth mission, otherwise I would just use explosives. I'm going to try pre-damaging it and see how that works out. Thanks for your help guys ;) EDIT: Okay I did a differnt approach now which suits my needs. [color="#FF8040"][color="#8B3E2F"][b]([/b][/color][color="#191970"][b]damage[/b][/color] transf1[color="#8B3E2F"][b])[/b][/color] [color="#8B3E2F"][b]>[/b][/color] [color="#FF0000"]0.03[/color] [color="#8B3E2F"][b]&[/b][/color][color="#8B3E2F"][b]&[/b][/color] [color="#8B3E2F"][b]([/b][/color][color="#191970"][b]damage[/b][/color] transf1[color="#8B3E2F"][b])[/b][/color] [color="#8B3E2F"][b]>[/b][/color] [color="#FF0000"]0.03[/color][/color] Made with KK's SQF to BBCode Converter That's the condition for the task to be succeeded. Now the player only needs to fire 4 or 5 rounds on each transformer ...and voilà , lights are out ;) Thanks for that tip
-
Hey folks, I once again need your help with a small script. In my mission, the player shall destroy two transformer with a silenced M14 EBR. What I tried to far looks like this. But it doesn't fire when the transformer gets hit. My guess is, that the damaged done to it, is too low. [color="#FF8040"]transf1 [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#FF0000"]9314[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]21143[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b]][/b][/color] [color="#191970"][b]nearestObject[/b][/color] [color="#FF0000"]1599395[/color][color="#8B3E2F"][b];[/b][/color] transf2 [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#FF0000"]9314[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]21143[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b]][/b][/color] [color="#191970"][b]nearestObject[/b][/color] [color="#FF0000"]1599396[/color][color="#8B3E2F"][b];[/b][/color] transf1 [color="#191970"][b]addEventHandler[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#7A7A7A"]"HitPart"[/color][color="#8B3E2F"][b],[/b][/color] [color="#8B3E2F"][b]{[/b][/color]transf1 [color="#191970"][b]setDamage[/b][/color] [color="#FF0000"]1[/color][color="#8B3E2F"][b];[/b][/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] transf2 [color="#191970"][b]addEventHandler[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#7A7A7A"]"HitPart"[/color][color="#8B3E2F"][b],[/b][/color] [color="#8B3E2F"][b]{[/b][/color]transf2 [color="#191970"][b]setDamage[/b][/color] [color="#FF0000"]1[/color][color="#8B3E2F"][b];[/b][/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#191970"][b]while[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#000000"]true[/color][color="#8B3E2F"][b]}[/b][/color] [color="#191970"][b]do[/b][/color] [color="#8B3E2F"][b]{[/b][/color] [color="#191970"][b]if[/b][/color][color="#8B3E2F"][b]([/b][/color][color="#8B3E2F"][b]![/b][/color][color="#191970"][b]alive[/b][/color] transf1 [color="#8B3E2F"][b]&[/b][/color][color="#8B3E2F"][b]&[/b][/color] [color="#8B3E2F"][b]![/b][/color][color="#191970"][b]alive[/b][/color] transf2[color="#8B3E2F"][b])[/b][/color] [color="#191970"][b]then[/b][/color] [color="#8B3E2F"][b]{[/b][/color] [color="#8B3E2F"][b]{[/b][/color] [color="#000000"]_x[/color] [color="#191970"][b]setHit[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#7A7A7A"]"light_1_hitpoint"[/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]0.97[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#000000"]_x[/color] [color="#191970"][b]setHit[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#7A7A7A"]"light_2_hitpoint"[/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]0.97[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#000000"]_x[/color] [color="#191970"][b]setHit[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#7A7A7A"]"light_3_hitpoint"[/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]0.97[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#000000"]_x[/color] [color="#191970"][b]setHit[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#7A7A7A"]"light_4_hitpoint"[/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]0.97[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#8B3E2F"][b]}[/b][/color] [color="#191970"][b]forEach[/b][/color] [color="#191970"][b]nearestObjects[/b][/color] [color="#8B3E2F"][b][[/b][/color]transf1[color="#8B3E2F"][b],[/b][/color] [color="#8B3E2F"][b][[/b][/color] [color="#7A7A7A"]"Lamps_base_F"[/color][color="#8B3E2F"][b],[/b][/color] [color="#7A7A7A"]"PowerLines_base_F"[/color][color="#8B3E2F"][b],[/b][/color] [color="#7A7A7A"]"PowerLines_Small_base_F"[/color] [color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]1500[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#191970"][b]sleep[/b][/color] [color="#FF0000"]5[/color][color="#8B3E2F"][b];[/b][/color] [color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color] [/color] Made with KK's SQF to BBCode Converter The while-loop just checks if the transformers are alive, and if not, it cuts the light in the area. Thank in advance R3vo
-
Wasn't there a classname list also in the folder you downloaded?