Difference between pages "GATE NOGATE" and "ATTACH"

From 4Dimensions
(Difference between pages)
Jump to: navigation, search
(Bot: Automated import of articles)
 
m
 
Line 1: Line 1:
'''GATE NOGATE'''
+
'''ATTACH'''
 
[[Category:Help Files]]
 
[[Category:Help Files]]
 +
[[Category:Building]]
  
Usage:    cast 'gate' <playername>
+
ATTACH
  
Duration: Instantaneous
+
ATTACH
  
 +
ATTACH
  
With gate the caster tries to teleport himself into the same room as his
 
  
target namely another player. Default gate protect is on. People who allow
 
  
other players to gate to their present location can toggle gate protect off by
+
Builder's working on their trial vnum do not need to learn this command, yet.
  
typing nogate.
 
  
  
Trainer:  
+
Usage: attach mob {trigger vnum/name} {mob name} [location]
  
L'Hannan
+
attach obj {trigger vnum/name} {obj name} [location]
  
 +
attach room {trigger vnum/name} {room vnum} [location]
  
See also: [[SPELLINFO]] [[GATE]]
 
  
See also: [[TOGGLE]]
+
 
 +
Attach lets you attach a script to one instance of a mob/obj/room, for
 +
 
 +
testing or other purposes. The command only attaches the script once,
 +
 
 +
and will not last over a reboot (or crash).
 +
 
 +
 
 +
 
 +
The 'location' is what number in the triggerlist the trigger will assume.
 +
 
 +
It is important to first attach a trigger to test before you manually add it
 +
 
 +
through oedit/medit/redit.
 +
 
 +
 
 +
 
 +
Examples:
 +
 
 +
attach room 14500 14520 - Attaches room trigger 14500 to room 14520.
 +
 
 +
attach mob 1332 santa  - Attaches mob trigger 1332 to mob 1308 (santa).
 +
 
 +
attach obj 1480 sword  - Attaches obj trigger 1480 to a sword.
 +
 
 +
 
 +
 
 +
See also: [[DETACH]]  [[TRIG-ATTACH]]  [[TRIG-DETACH]]  [[OLC]]  [[TRIGEDIT]]  [[TSTAT]]  [[STAT]]  [[ROOMFLAGS]]

Latest revision as of 15:10, 13 July 2017

ATTACH

ATTACH

ATTACH

ATTACH


Builder's working on their trial vnum do not need to learn this command, yet.


Usage: attach mob {trigger vnum/name} {mob name} [location]

attach obj {trigger vnum/name} {obj name} [location]

attach room {trigger vnum/name} {room vnum} [location]


Attach lets you attach a script to one instance of a mob/obj/room, for

testing or other purposes. The command only attaches the script once,

and will not last over a reboot (or crash).


The 'location' is what number in the triggerlist the trigger will assume.

It is important to first attach a trigger to test before you manually add it

through oedit/medit/redit.


Examples:

attach room 14500 14520 - Attaches room trigger 14500 to room 14520.

attach mob 1332 santa - Attaches mob trigger 1332 to mob 1308 (santa).

attach obj 1480 sword - Attaches obj trigger 1480 to a sword.


See also: DETACH TRIG-ATTACH TRIG-DETACH OLC TRIGEDIT TSTAT STAT ROOMFLAGS