Difference between pages "COMMANDS STOP --" and "TRIGEDIT-ROOM-DROP"

From 4Dimensions
(Difference between pages)
Jump to: navigation, search
(Bot: Automated import of articles)
 
m
 
Line 1: Line 1:
'''COMMANDS STOP --'''
+
'''TRIGEDIT-ROOM-DROP'''
 
[[Category:Help Files]]
 
[[Category:Help Files]]
 +
[[Category:Building]]
  
Usage: command
+
Activated any time a character attempts to drop an item in this room.
  
--
 
  
  
Typing in command will give you a list of the available commands in 4d.
+
If used with a return 0 the character will fail to drop anything.
  
  
-- will clear the command buffer. It's fairly nifty, allowing you to stop
+
Numeric Arg : percent chance this trigger will be activated.
  
doing something that would otherwise continue for a considerable amount of
+
Argument    : not used.
  
time.
 
  
For example: you decide to quaff 100 potions while fighting greenie.  So you
 
  
quaff potion x 100.  But midway through quaffing, greenie falls dead because
+
Variables:
  
she ingested a poisoned cow yesterday. So you can choose to stop quaffing the  
+
%actor%  - the character attempting to drop the object
  
potions by using the -- command.  This way, you save your potions for some
+
%object% - the object the character is attempting to drop
  
other mob.  Alternatively, you may have a long alias that makes you do 10
 
  
things.  You can also terminate that alias midway with the -- command.
 
  
 
+
Example: {cRTSTAT 56{c0
See also: [[COMMANDSLIKE]]  [[SOCIALS]]
 

Latest revision as of 13:15, 14 July 2017

TRIGEDIT-ROOM-DROP

Activated any time a character attempts to drop an item in this room.


If used with a return 0 the character will fail to drop anything.


Numeric Arg : percent chance this trigger will be activated.

Argument  : not used.


Variables:

%actor% - the character attempting to drop the object

%object% - the object the character is attempting to drop


Example: {cRTSTAT 56{c0