Raining Chain Quest API

Make sure to watch the Tutorial first.

Note: The variable "key" represents the player who triggered the event. It is given as the first parameter of every event function you create.

General Functions


Map Functions

Can only be used in the map section.


Actor Extra Constructors

Can only be used in the actorExtra parameter.


Actor Extra


Special Events

Events with those id will be triggered automatically on due time.


Challenge

In Quest Creator, if the challenge function returns true, the challenge is successful.

The function is called right after calling s.completeQuest.

To modify what happens in the quest for a certain challenge, use s.isChallengeActive.


Highscore

In Quest Creator, the highscore function returns a number which is equal to the score. If null is returned, then no score is attributed.

The function is called right after calling s.completeQuest.

To only allow score if a certain challenge is active, use s.isChallengeActive.



Feedback or questions?