Author Topic: What's wrong with this event (player::StartSkiing/player::StopSkiing)?  (Read 422 times)

Code: [Select]
// ----------
// Part 1: Input events

registerInputEvent( "Player" , "startSkiing" , "Player Player" );
registerInputEvent( "Player" , "stopSkiing" , "Player Player" );

Does "Player" have to not be in quotes or do I have to use fxDTSBrick as the class name?

Uh, what is not working? Are there syntax errors? Do the events not appear? Is the event itself dysfunctional? Not enough info. The code itself looks OK.

The event itself does not appear.

You're using input events, not output events.

You're using input events, not output events.

Oh, oops!