Difference between pages "TRIGEDIT-ROOM-ENTER TRIGEDIT-ROOM-ENTRY TRIGEDIT-ENTRY TRIG-ROOM-ENTRY" and "TRIGEDIT-ROOM-SPEECH"

From 4Dimensions
(Difference between pages)
Jump to: navigation, search
(Bot: Automated import of articles)
 
 
Line 1: Line 1:
'''TRIGEDIT-ROOM-ENTER TRIGEDIT-ROOM-ENTRY TRIGEDIT-ENTRY TRIG-ROOM-ENTRY'''
+
'''TRIGEDIT-ROOM-SPEECH'''
 
[[Category:Help Files]]
 
[[Category:Help Files]]
 +
[[Category:Building]]
  
TRIGEDIT-ROOM-ENTER TRIGEDIT-ROOM-ENTRY TRIGEDIT-ENTRY TRIG-ROOM-ENTRY
+
Activates when matching text is spoken by a character in the room
  
TRIGEDIT-ROOM-ENTER TRIGEDIT-ROOM-ENTRY TRIGEDIT-ENTRY TRIG-ROOM-ENTRY
 
  
TRIGEDIT-ROOM-ENTER TRIGEDIT-ROOM-ENTRY TRIGEDIT-ENTRY TRIG-ROOM-ENTRY
+
Numeric Arg : 0: argument is a substring that must be found in the speech to cause a
  
 +
match.
  
 +
1: argument is a list of words, any of which found in the speech will
  
This trigger is checked whenever someone enters the room. This trigger is
+
activate the trigger.
  
checked just before the character enters the room, so if you want the action
+
Argument    : a phrase or wordlist to be matched.
 
 
to occur in the room the character is entering, you must use a wait.
 
 
 
 
 
Numeric Arg : percentage chance this trigger will activate.
 
 
 
Argument    : not used.
 
 
 
 
 
 
 
If used with a return 0 the character will fail to enter the room.
 
  
  
Line 29: Line 20:
 
Variables:
 
Variables:
  
%actor%     - the character trying to get the object
+
%actor% - the character whose speech activated the trigger
  
%direction% - the direction the character came from
+
%speech% - the entire phrase spoken
  
  
  
Example: {cRTSTAT 55{c0
+
Example: {cRTSTAT 53{c0

Latest revision as of 14:28, 14 July 2017

TRIGEDIT-ROOM-SPEECH

Activates when matching text is spoken by a character in the room


Numeric Arg : 0: argument is a substring that must be found in the speech to cause a

match.

1: argument is a list of words, any of which found in the speech will

activate the trigger.

Argument  : a phrase or wordlist to be matched.


Variables:

%actor% - the character whose speech activated the trigger

%speech% - the entire phrase spoken


Example: {cRTSTAT 53{c0