Jump to content

sovietroll

Member
  • Content Count

    14
  • Joined

  • Last visited

  • Medals

Community Reputation

11 Good

About sovietroll

  • Rank
    Private First Class

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Are we going to get XM117 with scope? :D
  2. 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
  3. 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?
  4. sovietroll

    help with trigger

    solved. I am suppose to use greater than or equal to 1 instead of greater than1
  5. sovietroll

    help with trigger

    the code is going to be inside a script so trigger parameters are not a solution here :(
  6. 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.
  7. sovietroll

    The all new: Ask a moderator about the forum & rules

    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?
  8. sovietroll

    Laserdesignator

    str (laserTarget player) == "<NULL-object>" is the solution I have right now. I am hoping there is a better way.
  9. Is there a way to check laser designator is on or off? I tired player isIRlaserOn "Laserdesignator" , but it didn't work.
  10. sovietroll

    airborne script

    solved. I am not suppose to use exec to execute script. execVM is the right command
  11. sovietroll

    airborne script

    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;
  12. 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?
  13. 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)
  14. 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)
×