Changes between Version 6 and Version 7 of code/doc/MultiTrigger
- Timestamp:
- Aug 31, 2010, 11:24:29 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/doc/MultiTrigger
v6 v7 98 98 A DistanceMultiTrigger is the MultiTrigger equivalent of the DistanceTrigger and works just the same way. It triggers (now separately for each object triggering it, since it's a MultiTrigger) whenever an object that is a target of the DistanceMultiTrigger is in the specified range. 99 99 [[BR]]Two additional parameters can be specified for the DistanceMultiTrigger are the 'distance', which defines the maximum distance at which an object still triggers the DistanceMultiTrigger, and the 'targetname'. 100 [[BR]]Setting the 'targename' puts the DistanceMultiTrigger in single-target mode. In this mode the DistanceMultiTrigger can only be triggered by objects that have a DistanceTriggerBeacon with the name specified by 'targetname' directly attached. For the single-targ te mode to work the target of the DistanceMultiTrigger hastto be set to 'DistanceTriggerBeacon'.100 [[BR]]Setting the 'targename' puts the DistanceMultiTrigger in single-target mode. In this mode the DistanceMultiTrigger can only be triggered by objects that have a DistanceTriggerBeacon with the name specified by 'targetname' directly attached. For the single-target mode to work the target of the DistanceMultiTrigger has to be set to 'DistanceTriggerBeacon'. 101 101 [[BR]][[BR]] 102 102 A common usage (without DistanceTriggerBeacon) would look like this: