View Single Post
  #7  
Old 06-04-2007, 06:47 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
HTML Code:
public function setValue(oldVal, newVal)
(@ oldVal) = newVal;  
Bad names, here try this

HTML Code:
public function setValue(stringName, newValue)
{
  (@ temp.stringName) = temp.newValue; 
} 
Also, all you're doing with 'this.on' is re-placing it into your core NPC...
You'd use a function like this on an item database, changing local item flags. [updating etc]
__________________
Reply With Quote