Error code when creating timer?

Hello! I have been creating a timer for my game, and it works as intended, but a error message pops up.

Error message: Error running script: No parameters passed to EnableTimer function - expected 1 parameters

Ill show you the code im using for my timer:

if (game.pov.parent = Room) {
msg ("Message.")
MoveObject (Person, Room)
DisableTimer (timer)
}

Help would be much appreciated, thank you!


Does the error message pop up when you leave the room? When the timer expires? Or other?


The error message says the problem is with the EnableTimer function. So the code you need to look at is where the line with EnableTimer is.


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums