Difference between pages "TLIST TRIGLIST TRIG-LIST TRIGEDIT-LIST" and "ATTACH"

From 4Dimensions
(Difference between pages)
Jump to: navigation, search
(Bot: Automated import of articles)
 
m
 
Line 1: Line 1:
'''TLIST TRIGLIST TRIG-LIST TRIGEDIT-LIST '''
+
'''ATTACH'''
 
[[Category:Help Files]]
 
[[Category:Help Files]]
 +
[[Category:Building]]
  
TLIST TRIGLIST TRIG-LIST TRIGEDIT-LIST
+
ATTACH
  
TLIST TRIGLIST TRIG-LIST TRIGEDIT-LIST
+
ATTACH
  
TLIST TRIGLIST TRIG-LIST TRIGEDIT-LIST
+
ATTACH
  
  
  
Usage: tlist <range of vnums or zone number>
+
Builder's working on their trial vnum do not need to learn this command, yet.
  
  
  
Tlist gives you a list of the triggers numbered within the parameters.
+
Usage: attach mob {trigger vnum/name} {mob name} [location]
  
Be warned that all the triggers on TBA may not work since anyone could
+
attach obj {trigger vnum/name} {obj name} [location]
  
have made them. Ask around for the best examples. Zone 13, 40, 41 is a
+
attach room {trigger vnum/name} {room vnum} [location]
  
good start.
 
  
  
 +
Attach lets you attach a script to one instance of a mob/obj/room, for
  
tlist 13          - lists all triggers defined in zone 13
+
testing or other purposes. The command only attaches the script once,
  
tlist 4000 4099  - lists all existing triggers from vnum 4000 to 4099
+
and will not last over a reboot (or crash).
  
  
See also: [[TSTAT]]  [[TRIGEDIT]]  [[OLC]]
+
 
 +
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 16: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