Search the Community
Showing results for tags 'holdaddaction'.
Found 2 results
-
[Any help appreciated] Making AI follow player without joining group
Rapacez posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I’m currently making a Singleplayer where the player clears out multiple enemies before capturing an unarmed enemy officer, using holdActionAdd. The plan is for the enemy officer’s load out will then change (blindfold put on) and then for the enemy to follow the player into which ever vehicle they get into. As a somewhat novice to scripting any help would be greatly appreciated, cheers.- 2 replies
-
- scripting
- holdaddaction
-
(and 1 more)
Tagged with:
-
Hi Guys, I have written a HoldAddaction script (below) which returns all the dead Opfor units and applies the action, this is in the init.sqf. It functions as intended for SP&MP use for placed Units. If any units are dynamically spawned via other scripts/mods then this will not function on these units. Is this because the If/Then script has only initialised once when server is created and then for each player? I have tried using a While/Do loop but due to the tick time if will continuously add a new HoldAddAction for each time it ticks which obviously kills the frames, I'm looking for a way for this to loop every so often to ensure the newly spawned units inherit this HoldAddAction.
- 2 replies
-
- arma 3
- arma 3 editing
-
(and 4 more)
Tagged with: