Search the Community
Showing results for tags 'enter'.
Found 3 results
-
Hi Completely new to scripting, what i'm trying to do is set a trigger to perform a module its synced to when the player enters a vehicle. What I have done in the condition field of the trigger is... man1 in car1. Despite this however nothing still happens and I couldn't find much information in order to execute this properly. Is there anything missing I need to add or create an sqf file to perform this action? Thanks for reading.
-
Prohibit unit to enter vehicle after leaving it
jts_2009 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello. I have following problem: I put AI into vehicle with moveindriver command. After some event he should leave it by: unAssignVehicle sct1; [sct1] orderGetIn false; sct1 action ["GetOut", vehicle sct1]; And after some times he should enter another vehicle by: [sct1] orderGetIn true; sct1 assignAsCargo EscapeBoat; but that ass go back to the first vehicle and enters it. I tried 'allowGetIn false' command. But after I write allowGetIn true, he goes back to the first vehicle. I don't know whats wrong with that vehicle-crap... He just goes back to the first vehicle and enters it even after unAssign commands and other... -
[SCRIPT] Trigger List Changed v2.1 - Handle units which entered/left a trigger's list
Heeeere's johnny! posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Trigger List Changed - v2.1 This script is about handling units which enter or leave a trigger's list or trigger area respectively. This is different from handling "thisList" or "all units inside/outside the trigger". It's easy to handle units in the trigger's "thisList", but handling only those which just entered or just left is a different story. Such distinction might be important for instance if a certain value/operation should be added/reduced/applied/executed only on such units or when a unit enters in the very same 0.5 seconds as another unit leaves, which would let the number of units in thisList remain unchanged while one unit is actually different. This function should be executed server side only! Feel free to use, adapt, expand (and maybe give credit if you consider it useful, I'd be grateful :)). Download v2.1 from Armaholic Changelogs: Have a nice Play!