SpatialFear.SFInteractTrigger

Spatial Fear
Class: SFInteractTrigger
Description: Subclasses of SFUseKeyTrigger that only fires, if a
special inventory item is possesed, if NeededItem is empty the trigger is
always fired. Because it is a subclass of SFUseKey the property
IgnoreTouching can be used to use the trigger as "UseKey" trigger

Author: Markus Nuebel

Extends:
Modifiers:
Source code

SpatialFear.SFInteractTrigger
%%

Variables

%function_comment%
boolbRememberPassedItemCheck
%function_comment%
nameFailureEvent
%function_comment%
boolm_bCheckAreadyPassed
%function_comment%
class<Actor>NeededItem
%function_comment%
stringNeededMessage

Functions

boolcheckNeededItem (actor Other)
FireCustomEvent (name nameEvent, actor Other)
FireEvent (actor Other)
Touch (actor Other)

Default properties

{
     NeededMessage="You do not own the needed item"
}


class file time: 12/7/2003 3:58:24 PM - creation time: 12/7/2003 4:03:40 PM
Created with UnCodeX