View Single Post
  #8  
Old 10-16-2011, 06:58 PM
Tolnaftate2004 Tolnaftate2004 is offline
penguin.
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 534
Tolnaftate2004 is a jewel in the roughTolnaftate2004 is a jewel in the rough
Send a message via AIM to Tolnaftate2004
Quote:
Originally Posted by Emera View Post
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 View Post
... onCreated is called in the class when it's joined.
triggered
__________________
◕‿‿◕ · pfa · check yer syntax! · src

Killa Be: when i got that locker in 6th grade the only thing in it was a picture of a midget useing a firehose :/
Reply With Quote