Thread: Variables +1
View Single Post
  #1  
Old 03-24-2009, 10:34 AM
fault
Hill Giant
 
Join Date: Sep 2005
Posts: 114
Default Variables +1

How would I use +1 with variables?

in this instance everytime somebody completes a task the variable would set

$variablename+1


so if the task had 10 steps each time it would +1 so at the end it would equal 10 so another NPC could just check for that variable of 10.

I was thinking quest::setglobal(variablename, +1); But not sure if that would work in this instance.

the is also $variable=+1; but I doubt that would work
Reply With Quote