dash ![code/datums/dash_weapon.dm 2](git.png)
Actions that you can use to dash (teleport) to places in view.
Vars | |
beam_effect | What effect does our beam use? |
---|---|
beam_length | How long does our beam last? |
charge_rate | How long does it take to get a dash charge back? |
current_charges | How many dash charges do we have? |
dash_sound | What sound do we play on dash? |
max_charges | How many dash charges can we hold? |
phasein | What effect should we play when we phase in (at the teleport target turf) |
phaseout | What effect should we play when we phase out (at the source turf) |
recharge_sound | What sound do we play on recharge? |
Procs | |
charge | Callback for [/proc/teleport] to increment our charges after use. |
teleport | Teleports user to target using do_teleport. Returns TRUE if teleport successful, FALSE otherwise. |
Var Details
beam_effect ![code/datums/dash_weapon.dm 18](git.png)
What effect does our beam use?
beam_length ![code/datums/dash_weapon.dm 20](git.png)
How long does our beam last?
charge_rate ![code/datums/dash_weapon.dm 12](git.png)
How long does it take to get a dash charge back?
current_charges ![code/datums/dash_weapon.dm 8](git.png)
How many dash charges do we have?
dash_sound ![code/datums/dash_weapon.dm 14](git.png)
What sound do we play on dash?
max_charges ![code/datums/dash_weapon.dm 10](git.png)
How many dash charges can we hold?
phasein ![code/datums/dash_weapon.dm 22](git.png)
What effect should we play when we phase in (at the teleport target turf)
phaseout ![code/datums/dash_weapon.dm 24](git.png)
What effect should we play when we phase out (at the source turf)
recharge_sound ![code/datums/dash_weapon.dm 16](git.png)
What sound do we play on recharge?
Proc Details
charge
Callback for [/proc/teleport] to increment our charges after use.
teleport
Teleports user to target using do_teleport. Returns TRUE if teleport successful, FALSE otherwise.