Hi,
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.
state() TriggerTimed
{
function Trigger( Actor Other, pawn EventInstigator )
{
Set();
SetTimer( 1.9, false );
}
event Timer()
{
Reset();
}
}
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.



Reply With Quote

Bookmarks