Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 8 and Version 9 of code/doc/MultiTrigger


Ignore:
Timestamp:
Aug 31, 2010, 11:33:30 PM (14 years ago)
Author:
dafrick
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/doc/MultiTrigger

    v8 v9  
    9797
    9898A 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 [[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-target mode to work the target of the DistanceMultiTrigger has to be set to 'DistanceTriggerBeacon'.
     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-target mode to work the target of the DistanceMultiTrigger has to be set to 'DistanceTriggerBeacon'.
    101101[[BR]][[BR]]
    102102A common usage (without DistanceTriggerBeacon) would look like this: