Increasing atribute value

Im not sure how to do this still...
I have onject.progres =1 at the start but i want an action(a verb on an object in other room) to print a msg then increase the atribute by 1 each time

Do i need to set the atribute as something other then expression?


You mean like:

onject.progres = onject.progres + 1

That sets the value of onject.progres to the result of the expression onject.progres + 1; taking the current value of onject.progres and adding 1 to it.


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums