## XIDCine
Class CorpseDetectorTrigger

source: C:\XIII\XIDCine\Classes\CorpseDetectorTrigger.uc

    Core.Object
       |
       +--Engine.Actor
          |
          +--Engine.Triggers
             |
             +--Engine.Trigger
                |
                +--XIDCine.CorpseDetectorTrigger

Direct Known Subclasses:None

class CorpseDetectorTrigger
extends Engine.Trigger

    //-----------------------------------------------------------
    // CorpseDetectorTriger
    // Created by iKi
    // Last Modification by iKi
    //-----------------------------------------------------------

Variables
`Pawn` | `CorpseToDetect`

Source Code

    00001	//-----------------------------------------------------------
    00002	// CorpseDetectorTriger
    00003	// Created by iKi
    00004	// Last Modification by iKi
    00005	//-----------------------------------------------------------
    00006	class CorpseDetectorTrigger extends Trigger;
    00007
    00008	VAR() Pawn CorpseToDetect;
    00009
    00010	EVENT Touch(actor Other)
    00011	{
    00012		if ( CorpseToDetect==Pawn(Other) )
    00013		{
    00014			CorpseToDetect.bCanBeGrabbed=false;
    00015			TriggerEvent(event, self, CorpseToDetect);
    00016		}
    00017	}
    00018
    00019
    00020
    00021	defaultproperties
    00022	{
    00023	}

End Source Code