Blockland Forums > Modification Help

What's wrong with this event (player::StartSkiing/player::StopSkiing)?

Pages: (1/1)

Axolotl:


--- Code: ---// ----------
// Part 1: Input events

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

--- End code ---

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

CityRPG:

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.

Axolotl:

The event itself does not appear.

CityRPG:

You're using input events, not output events.

Axolotl:


--- Quote from: CityRPG on March 01, 2012, 06:56:27 PM ---You're using input events, not output events.

--- End quote ---

Oh, oops!

Pages: (1/1)

Go to full version