[Crossfire-wiki] [Crossfire DokuWiki] page changed: dev:objects

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Fri Dec 8 05:57:46 CST 2006


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2006/12/08 05:57
User        : ryo
Edit Summary: format

@@ -1322,31 +1322,18 @@
  | no_pass | if set, you can only pass through that space if you be allowed to (depending on last_sp determines if having/not having is the match criteria). If no_pass is 0 (default), then the inventory only acts as a trigger/button |
  
  General usage notes:  Putting a check_inventory space in front of a gate with another on the other side works reasonably well as a control mechanism.  Note, however, that other people may still be able to slip by.  To get around this, use the no_pass to 1, and put it in the space you want to control (probably makes sense to put a fake door or other object there to make it a little more obvious what is going on.)
  
- ==== Detector ====
  
- This object samples the square its in, and if it finds an object
- named in the slaying field, it toggles its connected value.  Detectors are a
- lot like pedestals - the only really difference is that they sample the
- space periodically, where as pedestals will get triggered the instant
- something is dropped.  The use for pedestals is to add some indeterminate
- time delay (indeterminate since you can never be sure at what point in its
- timing the player will actually drop something on the detector.)  Personally,
- I don't see much if any use for detectors.  (The author of this last sentence
- didn't realize that if you blow a spell over a detector, it may be detected,
- but a pedestal won't notice it.)
+ ==== Detector ====
  
- slaying   name of the thing the detector is to look for
- 	  * note:  FORCEs with slaying fields == slaying field of detector
- 	   will be detected.
- speed     time between samples
- connected connected value of detector
- sp        1 if detection sets buttons,
-           -1 if detection unsets buttons
- hp	  1 if it is to search through an inventory of an object
- 	  sitting over it
+ This object samples the square its in, and if it finds an object named in the slaying field, it toggles its connected value.  Detectors are a lot like pedestals - the only really difference is that they sample the space periodically, where as pedestals will get triggered the instant something is dropped.  The use for pedestals is to add some indeterminate time delay (indeterminate since you can never be sure at what point in its timing the player will actually drop something on the detector.)  Personally, I don't see much if any use for detectors.  (The author of this last sentence didn't realize that if you blow a spell over a detector, it may be detected, but a pedestal won't notice it.)
  
+ | slaying | name of the thing the detector is to look for. FORCEs with slaying fields matching slaying field of detector will be detected |
+ | speed | time between samples |
+ | connected | connected value of detector |
+ | sp | 1 if detection sets buttons, -1 if detection unsets buttons |
+ | hp | 1 if it is to search through an inventory of an object sitting over it FIXME and 0? |
  
  ==== Marker ====
  
  This object inserts a force into a player who stands on it.


IP-Address  : 213.174.127.3
Old Revision: http://wiki.metalforge.net/doku.php/dev:objects?rev=1165578887
New Revision: http://wiki.metalforge.net/doku.php/dev:objects

-- 
This mail was generated by DokuWiki at
http://wiki.metalforge.net/




More information about the crossfire-wiki mailing list