Functions Documentation |
|
Name |
shpAddEnergyField |
Syntax |
(shpAddEnergyField ship number number) |
Argument List |
ship: The ship that is using the energy field.
number: The UNID of the energy field.
number: How long in ticks the energy field will last. |
Returns |
condition: True is successful. |
Category |
ship, deprecated
|
Description |
Puts the given energy field on the given ship for the given amount of time. |
Example |
(shpAddEnergyField gplayership &sfStrengthen; 600)
Puts the strengthen energy field on the player ship for 600 ticks. |
Comment |
DEPRECATED: Use ObjAddOverlay instead.
Interesting function. Would be more interesting if ShipEnergyFieldType had more attributes. |