![](https://forums.bohemia.net/uploads/set_resources_8/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
![](https://secure.gravatar.com/avatar/5e4ae2171564d9eaa69f788dc1c85171?d=https://forums.bohemia.net/uploads/set_resources_8/84c1e40ea0e759e3f1505eb1788ddf3c_default_photo.png)
SnowmaneYT
Member-
Content Count
19 -
Joined
-
Last visited
-
Medals
Community Reputation
5 NeutralAbout SnowmaneYT
-
Rank
Private First Class
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
[SOLVED] - Looking for a mission...
SnowmaneYT replied to SnowmaneYT's topic in ARMA 2 & OA - USER MISSIONS
It's Fashpoint. I can confirm... i'm playing a lot these days. For my taste is the best mission for Arma 2. You know if there any conversion or a mission like this for Arma 3? -
[SP] Flashpoint: - Instant Action - Dynamic Missions - Release Thread
SnowmaneYT replied to thomsonb's topic in ARMA 2 & OA - USER MISSIONS
Is there a conversion for Arma 3 or a very similar mission? -
Hello, Time ago I remember downloading a mission for Arma 2 where the entire map was a random battlefield. I don't remember what it was called and since armaholic no longer exists I wonder if someone could help me remember the name and from where I can download the mission. Thanks! EDIT: I found it
-
[HELP] - SC logic fails after X time
SnowmaneYT replied to SnowmaneYT's topic in ARMA 3 - MISSION EDITING & SCRIPTING
You are a master, i learning a lot with you. Thanks! -
[HELP] - SC logic fails after X time
SnowmaneYT replied to SnowmaneYT's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Sorry for asking so much, i'm just starting in Arma 3 scripting... My question now is related to: {_respawns = _x addMPEventHandler ["MPRespawn", { params ["_unit", "_corpse"]; _moveLoop = _unit execVM "unitMove.sqf"; }]; } foreach allUnits; If I have understood well, i don't need to execVM on respawn because the script is already running, in my case used in editor code on each unit: nul = this execVM "unitMove.sqf"; -
[HELP] - SC logic fails after X time
SnowmaneYT replied to SnowmaneYT's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Helped a lot, thanks so much. I was using execVM because I thought the Script restarts instead of creating a new instance. Just for curiosity, how to stop a running script? ... and, when unit dies the script is stopped? -
[HELP] - SC logic fails after X time
SnowmaneYT posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello, I'm making a SC mission and in the begining the game logic runs fine, but after a random amount of time (5-10 mins of play) the sectors stop working and also got a massive FPS drops (clear sign of something wrong). I checked the code several times and I don' t find any clue. Here's the code (only the relevant to the topic): init.sqf (All OK here): {_respawns = _x addMPEventHandler ["MPRespawn", { params ["_unit", "_corpse"]; _moveLoop = _unit execVM "unitMove.sqf"; }]; } foreach allUnits; unitMove.sqf (All OK here): params ["_unit"]; if (side _unit == west) then {_unit execVM "unitMoveWest.sqf"}; if (side _unit == east) then {_unit execVM "unitMoveEast.sqf"}; if (side _unit == independent) then {_unit execVM "unitMoveIndi.sqf"}; unitMoveWest.sqf (ploblem is here. Only post one, the other are the same just changing the side): params ["_unit"]; sleep 1; _targetSector_1 = sectornum_1; _targetSector_2 = sectornum_2; _targetSector_3 = sectornum_3; _targetSector_4 = sectornum_4; _targetSector_5 = sectornum_5; _targetSector_6 = sectornum_6; _sectorsArray = [_targetSector_1, _targetSector_2, _targetSector_3, _targetSector_4, _targetSector_5, _targetSector_6]; _sectorSelected = _sectorsArray call BIS_fnc_selectRandom; _sectorLoc = getPos _sectorSelected; // I think the ploblem is in here if (_sectorSelected getVariable "owner" == west) then {_unit execVM "unitMoveWest.sqf"}; _unit doMove _sectorLoc; waitUntil {unitReady _unit}; // ToDo Sector owner check sleep 30; _unit execVM "unitMoveWest.sqf"; Thanks! -
[HELP] - side _this
SnowmaneYT replied to SnowmaneYT's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Wow, thanks so much 😀👌 -
[HELP] - side _this
SnowmaneYT replied to SnowmaneYT's topic in ARMA 3 - MISSION EDITING & SCRIPTING
init.sqf {_respawns = _x addMPEventHandler ["MPRespawn", { _moveLoop = _this execVM "unitMove.sqf"; }]; } foreach allUnits; unitMove.sqf (here is caused the "_this" error if (side _this == west) then {_this execVM "unitMoveWest.sqf"}; if (side _this == east) then {_this execVM "unitMoveEast.sqf"}; if (side _this == independent) then {_this execVM "unitMoveIndi.sqf"}; -
[HELP] - side _this
SnowmaneYT replied to SnowmaneYT's topic in ARMA 3 - MISSION EDITING & SCRIPTING
"_this" is supposed to be the current unit, i used to execVM and doMove, etc and works. How i can reffer to the unit AI then? -
SnowmaneYT started following doMove, how to know when is completed?, [HELP] - side _this and Weird group error
-
Hello, I'm trying to get the side of AI using "side _this" but i'm only getting an error. On respawn i execVM a file with the expectations of get the side of the AI and then execVM another file depending on side. if (side _this == west) then {_this execVM "unitMoveWest.sqf"}; Why is not working? Thanks!
-
doMove, how to know when is completed?
SnowmaneYT replied to SnowmaneYT's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I resolved using waitUntil {unitReady _this}; Thanks anyway, i going to test your solution to learn more! -
Hello, _grp = group _this; _wp = _grp addWaypoint [_rndDest, 0]; _wp setwaypointtype "MOVE"; I have this to add a waypoint from an array (_rndDest) to a unit (playable). This code is executed via execVM when the unit spawn for first time and when die. All is working fine when spawn for first time, but when respawn i get and error in _grp = group _this; The error say something about missing vector. Any help, please? Thanks!
-
- group
- addwaypoint
-
(and 1 more)
Tagged with:
-
doMove, how to know when is completed?
SnowmaneYT replied to SnowmaneYT's topic in ARMA 3 - MISSION EDITING & SCRIPTING
This may work, thanks so much! 🙂 -
doMove, how to know when is completed?
SnowmaneYT posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello, I have _nul = _this doMove _destination; to move a unit. What i need is when the unit reached the destination, wait for x time and then doMove to another destination. So, the big question here is, how i can detect when doMove is completed? Thanks!