How can I acsses instance variables? I have a instance variable in my object but I can’t access the variable on the Events tab of my Scene. I’ve tried to use a Modifiy a variable of an object, but I can’t access it… Any ideas on how I can acces it?
Thanks.
object.Variable(number) object.VariableString(text)
Is this for the Value param.?
yes you put the name of the variable in the brackets and get its value
example: add to object a force with object.Variable(speed) px per seconds.
or if Enemy.Variable(health) <= 0 delete enemy.
it dosent work, is it that i presseted a inst var??