sovietroll
Member-
Content Count
14 -
Joined
-
Last visited
-
Medals
Community Reputation
11 GoodAbout sovietroll
-
Rank
Private First Class
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
ARMA 3: Conflict '85 - A CUP expansion
sovietroll replied to slatts's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
Are we going to get XM117 with scope? :D -
eventhandler and sqf type cutscene
sovietroll replied to sovietroll's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Both methods are not working. I even have waitUntil {not isNull ATGM}; Before the loop but still not working _this select 6 is useful though. Thx for the tip EDIT solved use waitUntil {! isnil "ATGM"}; instead -
eventhandler and sqf type cutscene
sovietroll posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I am trying to make a cut-scene where camera will follow an ATGM once it is launched from ka-48; I have the following event-handler code on the initialization of ka-48 ahelo addEventHandler [ "fired", {ATGM= nearestObject[_this select 0,_this select 4]; In my cutscene.sqf I have this while{true}do{ _camera camSetTarget ATGM; _camera camSetRelPos [0,-10,2]; _camera camPrepareFOV 0.700; _camera camCommitPrepared 0; }; The camera did follow the missile but I received the following error _camera camSetTarget |#|ATGM; _camera camSetRelPos [0,-10,2]; _camera camPrepareFOV 0.700; _c............ ERROR Undefined variable in expression: atgm What could possibly go wrong. Is it a scope problem? -
solved. I am suppose to use greater than or equal to 1 instead of greater than1
-
the code is going to be inside a script so trigger parameters are not a solution here :(
-
I need help. I have the following condition inside a trigger 1 < { (side _x == east) && (_x knowsAbout player > 2) } count allUnits This basically check if at least one enemy has detected player (with certain knowsabout value). I have know no clue why it is not working. It only work if I test one of the two conditions separately.
-
The all new: Ask a moderator about the forum & rules
sovietroll replied to Placebo's topic in OFFTOPIC
Not sure if this is the right place to post it, but I have a question regarding to rule #19 of forum rule §19) Posting addon/mod other content without permission Does it apply to script? If my mission uses someone's script or modification of someone's script, do I need permission of author if I ever wanted to release my mission to public? Is it fine if I just give them credit in readme? -
str (laserTarget player) == "<NULL-object>" is the solution I have right now. I am hoping there is a better way.
-
Is there a way to check laser designator is on or off? I tired player isIRlaserOn "Laserdesignator" , but it didn't work.
-
solved. I am not suppose to use exec to execute script. execVM is the right command
-
I was testing it with for loop so I forgot to add it back. The result is still the same with "_m=_m+1" inside the code. Here is intended code, but it is still not working _squad = _this select 0; //group that to be airdropped _aircraft = _this select 1; //transportation aircraft _squadmember = units _squad; //array of group members _m = 0; //first element in array _n = count _squadmember; //number of group memebers if(_n==3) then {hint "3";}; //debugging purpose //a soldier is ejected every 0.5 second, but the code inside //the while loop only run once. while {_m<_n} do { (_squadmember select _m) action ["EJECT",_aircraft]; _m=_m+1; player globalChat format["%1",_m]; //debugging purpose sleep 0.5; }; exit;
-
I am trying to write a script where a group of soldiers can eject out of an aircraft one at a time. Here is the code _squad = _this select 0; //group that to be airdropped _aircraft = _this select 1; //transportation aircraft _squadmember = units _squad; //array of group members _m = 0; //first element in array _n = count _squadmember; //number of group memebers if(_n==3) then {hint "3";}; //debugging purpose //a soldier is ejected every 0.5 second, but the code inside //the while loop only run once. while {_m<_n} do { (_squadmember select _m) action ["EJECT",_aircraft]; player globalChat format["%1",_m]; //debugging purpose sleep 0.5; }; exit; The script is executed with the following line in the trigger [squad,heli] exec "jump.sqf" where "squad" is group of 3 soldiers and "heli" the name of the helicopter However, the code inside the while loop only run once and only one soldier is ejected. It seems the value _m never go above 1. What can possibly go wrong?
-
Sudden FPS drops + weird graphic glitch on Altis
sovietroll replied to sovietroll's topic in ARMA 3 - TROUBLESHOOTING
here is my spec Window 7 32bit ATI Radeon HD 5700 AMD Phenom II x4 945 (4cores) 4gb DDR3 Seagate 1TB 6GB/s SATA (on 3Gb/s motherboard) -
Sudden FPS drops + weird graphic glitch on Altis
sovietroll posted a topic in ARMA 3 - TROUBLESHOOTING
I usually have decent game performance while playing mission on Altis, but very frequently my FPS would suddenly drop to the point where it is unplayable, and every models would turn low res with low polygons counts as shown on this link. I have never experienced this kind of problem on Stratis http://postimg.org/image/l62rie8sh/ Anyone else has the same problem? My hardware Window 7 32bit ATI Radeon HD 5700 AMD Phenom II x4 945 (4cores) 4gb DDR3 Seagate 1TB 6GB/s SATA (on 3Gb/s motherboard)