Jump to content

sarogahtyp

Member
  • Content Count

    2494
  • Joined

  • Last visited

  • Medals

Everything posted by sarogahtyp

  1. best would be if u would show what u r trying to do... but a case can be a full code as you can see on the biki page of the switch statement
  2. If you use a variable (assign a value to it or make it private) only within a certain scope ( { ... I am a scope ... } ), then it is unknown to the code that comes after that scope. In your script this occurs several times, and sometimes you try to retrieve the value of this variable by comparing it (in a condition) or by assigning its value to another variable. But you can't retrieve the value because the variable is no longer defined, because the scope in which it was used has already ended. What you need to do is simple. Just initialize or use private before the scope where you need the variable starts. In this pseudo code the condition of the 2nd if then statement can't work because _closest_player is not known there anymore: if ( ... ) then { _closest_player = player call saro_fnc_getClosestPlayer; }; if (player distance _closest_player < 5) then { hint "Alarm !!! Player very close !!!"; }; But this would work because _closest_player is defined outside of the scopes where its used in: private _closest_player; if ( ... ) then { _closest_player = player call saro_fnc_getClosestPlayer; }; if (player distance _closest_player < 5) then { hint "Alarm !!! Player very close !!!"; };
  3. ScheduleTaken = true Has to be part of the code which gets executed when the action is used. This is because true has to be assigned to ScheduleTaken. What you are doing is to test the condition if ScheduleTaken is equal to true. Also you are doing this on a place where the result of the condition specifies if the whole action gets shown. This is not what u want to do.
  4. sarogahtyp

    Session eding

    This link is not shared publicly.
  5. Works flawlessly. Didn't tested the addon but it completly downloaded its 20 MB size just some minutes ago.
  6. The video above is your starting point to remove the old mods as dependencies of the mission. What you at least also have to do before you are able to edit the mission in eden is to remove ( or better just replace the classname with one of the new mods or vanilla ) all objects from mission.sqm which are provided by those old mods (f.e. mod vehicles, mod structures or mod units). Depending on the mission this could be lot of work... Next thing would be to modify the scripts but you should first do the above before talkin' 'bout scripts.
  7. After playing around with creating action menus with the ActionManagerComponent on a vehicle and saving/exiting/starting Workbench/Worldeditor/Scripteditor multiple times I get the above messages after the Projekt selection screen. Creating a new project as well as opening another existing project does not help. Any suggestions would be greatly appreciated. Edit: A simple start of the main game solved it. There was an update pending. maybe the problem was that those update was not done.
  8. this solved it. Maybe it was just an issue with the pending game update which was not done before.
  9. I'd like to try your solution for my own problem but where is those profile located you are talking about?
  10. sarogahtyp

    [SOLVED] C# SSLStream.Read crashing the game

    https://feedback.bistudio.com/T165724 One reason this forum is so helpful is that many members share their solutions with each other. It would be nice if you could do the same.
  11. I ve a bad feeling bout that feeling. Most pc user do not have that as well because of missing ingame editor. Try to be patient. You ll have that ability but not instantly.
  12. sarogahtyp

    MnK support

    Im so happy to not know every single shortage existing...
  13. I m sure this is one of the more prioritized things they do..
  14. They did. I cant tell the source but somewhere I read that mission rotation is just not yet implemented. Most likely I read that on their discord...
  15. sarogahtyp

    Command list

    Totally true but not clearly mentioned there. Maybe someone can do this or maybe I ll do later.
  16. Fortunately, that won't happen and never will.
  17. you have no clue bout how many pilots (and others) on PC are using Joysticks, Pedals, Thrust Controls, Steering Wheels or even Gamepads... and how well those are working also in Arma 3
  18. sarogahtyp

    Arma Reforger Crash Help

    For me your screenshot looks like AR is trying to read some stuff (symbols) from (V)RAM and it's not there (on the (V)RAM adress) where it should be. This can be an issue with AR itself or anything else. But my 2 cents here is the question "Did you overclock anything?". Anything could be CPU/GPU or RAM Kit. If you did then just revert it and try again. Also this: Please not only post questions in this forum to get help from users with similar experiences, but also use the feedback tracker to quickly resolve these game brake issues and possibly get further help: How to use Feedback Tracker Feedback Tracker - AR section
  19. sarogahtyp

    Engine initialization error

    Please not only post questions in this forum to get help from users with similar experiences, but also use the feedback tracker to quickly resolve these game brake issues and possibly get further help: How to use Feedback Tracker Feedback Tracker - AR section
  20. sarogahtyp

    Veh respawn script help

    Rule of arma 3 script error fighting: Always look in .rpt file for the first error caused by a script which occurs. That error has to get fought first. Therefore the script u r showing in op is the wrong one.
  21. sarogahtyp

    Veh respawn script help

    You should show the freaking .rpt file. We can already see ur script...
  22. I try to get the state of a vehicles engine. What I tried so far is using the EOnPhysicsActive event of the vehicle: class SaRo_BMHQ_Hillbilly01_Class: Vehicle { override void EOnPhysicsActive(IEntity owner, bool activeState) { if (activeState) Print ( "Active."); else Print ( "Not active."); } }; This detects if the physics of the vehicle get simulated and therefore it fires on movement even if initiated by another entity like another car. It also fires on initialization. Question is: Is there a method to get the engines state and which method is it?
  23. sarogahtyp

    Chernarus and Livonia

    AFAIK at least helicopter(s) count to planned features for one of the 3 large updates during the first year after release.
  24. At least it is a known issue and BI is working on it as they told about in yesterdays dev report.
  25. As you created a thread in the feedback tracker already I link it here just to have it: OnPlayerDeath Event returns wrong Entities
×