-
Notifications
You must be signed in to change notification settings - Fork 143
Actions static class
Sandrem edited this page Dec 25, 2017
·
1 revision
(For version 0.3.2)
Static class "Actions" is used to call some useful methods:
-
AssignTargetLockToPair - assigns Target Lock tokens to pair of ships.
-
HasTargetLockOn - return true if first ship has Target Lock on second ship.
-
GetTargetLocksLetterPair - returns letter of Target Lock token pair of two ships. Returns ' ' is first ship doesn't have Target Lock on second ship.
-
HasTarget - checks if ship has any targets for primary weapon shot. Is used by AI to determine priority of actions.
-
CountEnemiesTargeting - counts how many enemies can attack this ship with primary weapon. Is used by AI to determine priority of actions.