Official Forum
You are not logged in.
How can I use this in the script menu? I want to learn this, maybe I can improve my scenes then. Please make an easy tutorial with an example to understand.
Thnx
Offline
I just posted a similar topic in the help/bug section, hopfully something comes up.
Offline
ControllerAcc is the value for an object's controller acceleration in m/s, hovewer, almost all people which script them use it as a way to store data. my AK-47 uses it as a method to tell the ammo remaining in clip
Offline
HOW?? How does it tell? please give me an example... an easy one
Offline
Jelmerholland wrote:
HOW?? How does it tell? please give me an example... an easy one
For on collide do something like: ControllerAcc = ControllerAcc +1
Now every time that object hits something it's controllerAcc variable goes up one. You can then use that variable to tell the object to do something else. The only thing about this that's better than custom variables is that you can clone the object and it's clone can do the same thing without having to make a new custom variable.

Offline
Ok, how would you use that variable to set a hinge speed then??
Offline
dang.........
ok, then is there a way to define a custom variable without typing it into the console? (phunlet safe?)
Offline