Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 7, 2011, 10:19:16 PM (14 years ago)
Author:
dafrick
Message:

Extending DistanceTrigger (both the normal and the MultiTrigger version). DistanceTriggerBeacons, can now also be used to exclude specific objects from triggering a DistanceTrigger.
Beware: The syntax for the DistanceTrigger, used with a DistanceTriggerBeacon has changed.
It was: <DistanceTrigger target="DistanceTriggerBeacon" targetname="someBeacon" />
And is now: <DistanceTrigger target="WhateverTargetYouWantYourTriggerToReactTo" beaconMode="identify" targetname="someBeacon" />
Consult the documentation in DistanceMultiTrigger for it's specific usage, the DistanceTrigger works analogously.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/dockingsystem2/data/levels/theTimeMachine.oxw

    r7845 r8206  
    9494   
    9595        <!--TRIGGERS IF THE PLAYERS REACHES THE "TIME MACHINE"-->
    96         <DistanceTrigger name="EnterTimeMachine" position="0,0,0" distance="100" target="DistanceTriggerBeacon" targetname="PlayerDistanceTrigger" >
     96        <DistanceTrigger name="EnterTimeMachine" position="0,0,0" distance="100" target="Pawn" beaconMode="identify" targetname="PlayerDistanceTrigger" >
    9797            <attached>
    9898                <Billboard position="0,0,0" material="Examples/Flare" colour="0, 0, 1" scale=1/>
Note: See TracChangeset for help on using the changeset viewer.