-
Content Count
2494 -
Joined
-
Last visited
-
Medals
Everything posted by sarogahtyp
-
I can't see the problem here and am getting tired
sarogahtyp replied to LawH's topic in ARMA 3 - MISSION EDITING & SCRIPTING
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 -
I can't see the problem here and am getting tired
sarogahtyp replied to LawH's topic in ARMA 3 - MISSION EDITING & SCRIPTING
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 !!!"; }; -
Task completion variable problem
sarogahtyp replied to RS30002's topic in ARMA 3 - MISSION EDITING & SCRIPTING
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. -
This link is not shared publicly.
-
Is anyone else unable to download from Workshop?
sarogahtyp replied to petek's topic in Arma Reforger - Mods: Discussion
Works flawlessly. Didn't tested the addon but it completly downloaded its 20 MB size just some minutes ago. -
Porting Arma 3 mission from one modpack to another
sarogahtyp replied to Zomerzout's topic in ARMA 3 - MISSION EDITING & SCRIPTING
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.- 1 reply
-
- 2
-
[Solved] Workbench doesn't start anymore - Can't compile "GameLib" script module!
sarogahtyp posted a topic in Arma Reforger - Workbench
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. -
Arma Reforger project not found. Please locate the project manually
sarogahtyp replied to aie-boshell's topic in Arma Reforger - Workbench
this solved it. Maybe it was just an issue with the pending game update which was not done before. -
Arma Reforger project not found. Please locate the project manually
sarogahtyp replied to aie-boshell's topic in Arma Reforger - Workbench
I'd like to try your solution for my own problem but where is those profile located you are talking about? -
[SOLVED] C# SSLStream.Read crashing the game
sarogahtyp replied to XTankKiller's topic in ARMA 3 - TROUBLESHOOTING
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. -
How do we play coop scenarios with friends, if not when?
sarogahtyp replied to thepoobear23's topic in Arma Reforger - Xbox Discussion
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. -
Im so happy to not know every single shortage existing...
-
feature request Dedicated Server Support for Xbox
sarogahtyp replied to aHorse's topic in Arma Reforger - Xbox Discussion
I m sure this is one of the more prioritized things they do..- 1 reply
-
- dedicated server
- xbox
-
(and 2 more)
Tagged with:
-
We need a Mission Selection Screen
sarogahtyp replied to W-Cephei's topic in Arma Reforger - Servers & Administration
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... -
Command list
sarogahtyp replied to Inspecteur Derrick's topic in Arma Reforger - Servers & Administration
Totally true but not clearly mentioned there. Maybe someone can do this or maybe I ll do later.- 5 replies
-
- documentation
- command
-
(and 1 more)
Tagged with:
-
Please don't forget helicopters advance physics
sarogahtyp replied to Japo32's topic in Arma Reforger - General
Fortunately, that won't happen and never will. -
Please don't forget helicopters advance physics
sarogahtyp replied to Japo32's topic in Arma Reforger - General
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 -
Arma Reforger Crash Help
sarogahtyp replied to Blackbomber200's topic in Arma Reforger - Troubleshooting
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 -
Engine initialization error
sarogahtyp replied to jakeandrew's topic in Arma Reforger - Troubleshooting
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 -
Veh respawn script help
sarogahtyp replied to curtcooll's topic in ARMA 3 - MISSION EDITING & SCRIPTING
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. -
Veh respawn script help
sarogahtyp replied to curtcooll's topic in ARMA 3 - MISSION EDITING & SCRIPTING
You should show the freaking .rpt file. We can already see ur script... -
Detect if vehicles engine is running
sarogahtyp posted a topic in Arma Reforger - Configs & Scripting
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? -
AFAIK at least helicopter(s) count to planned features for one of the 3 large updates during the first year after release.
-
Arma reforger keeps kicking me off of servers
sarogahtyp replied to blackflagmedia's topic in Arma Reforger - Troubleshooting
At least it is a known issue and BI is working on it as they told about in yesterdays dev report. -
bug OnPlayerDeath Event returns wrong faction
sarogahtyp replied to firefall70's topic in Arma Reforger - Configs & Scripting
As you created a thread in the feedback tracker already I link it here just to have it: OnPlayerDeath Event returns wrong Entities- 1 reply
-
- 1