User Tools

Site Tools


modding:function:shpaddenergyfield

Discuss this page on this pages TalkPage

shpAddEnergyField

See shpAddEnergyField at Xelerus

Syntax (shpAddEnergyField ship number number)
Arguments 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
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. Return to Functions list

modding/function/shpaddenergyfield.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1