-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve taskCamp, taskCamp and taskGarrison waypoints with eventhandl…
…ers (#259) * Add suppression EH to waypoints Adds suppression EH to taskGarrison and taskCamp and makes taskHunt closer in style to other functions. Adds taskCampReset event Adds 'suppress' as an option to taskGarrison Adds suppress check to taskCamp Improves stance control of units in taskCamp Improves taskHunt style Removes suppression feature in taskHunt (better handled through new FSM and group actions) * re-orders EH indexes for garrisons re-orders EH indexes for garrisons Fixes Zeus modules order of EH * Adds clean up system for eventhandlers added by lambs modules * Think happy thoughts mr _x * unit blah * Update fnc_taskGarrison.sqf
- Loading branch information
Showing
10 changed files
with
135 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#include "script_component.hpp" | ||
/* | ||
* Author: nkenny | ||
* Removes eventhandlers assigned by lambs modules | ||
* | ||
* Arguments: | ||
* 0: Unit to clean up <OBJECT> | ||
* | ||
* Return Value: | ||
* nil | ||
* | ||
* Example: | ||
* [bob] call lambs_main_removeEventhandlers; | ||
* | ||
* Public: No | ||
*/ | ||
params ["_unit", "_ehs"]; | ||
{ | ||
_unit removeEventHandler _x; | ||
} forEach _ehs; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.