Quote:
Originally Posted by Emera
Hello! I am trying to create a real simple public function to replace the already complicated quest icon system I made ...
|
PHP Code:
public function QuestIcon(icon_text) {
//if (playertouchsme) { // this is an event, not a flag and
// won't be executed in this context
// do stuff
//}
}
PHP Code:
function onPlayerTouchsMe() { // preferred method
icon::QuestIcon("MOO"); // you can specify the class name thusly
// (if you want to do so at all)
}
Quote:
Originally Posted by fowlplay4
... onCreated is called in the class when it's joined.
|
triggered