Help with Triggered actors
I have made a Keypoint actor, but now I am having trouble getting it to be triggered: I suppose, firstly, can a Keypoint actor be triggered?
I know how to setup a trigger to do an evet, thats easy.
The keypoint actor I have created, changes a few properties of another actor via a class link. But now I want to be able to trigger the keypoint and have it stay on for a set period then turn of by itself.
I have the following code for the TriggerTimed function.
function Trigger( Actor Other, pawn EventInstigator )
SetTimer( 1.9, false );
Set() and Reset() are the functions I use to change the properties of the actor in question, they work fine if I call them manually, but the trigger event is not calling them.
I have a simple trigger setup and it will not trigger the Keypoint.
The keypoint is set to TrigerTimed in the Object, but the state() TriggerTimed does not get called. Can ne1 tell me why, or will I need to create the actor under another, so the trigger works.
Whats your class based on ? Theres a whole section devoted to triggers and the such called "Triggers" funnily enough. You can make your own object do the same thing as the trigger class set, just by setting the relevant variables. I cant say what they are cos im at work, but just look at the trigger classes and im sure you will work it out.