Reset Value to 0 button - Code

Smart people ~ Great Scripts
Post Reply
User avatar
Draise
Captain
Posts: 3198
Joined: 21 Sep 2009, 19:33
Type the number ten into the box: 0
Location: Bogota, Colombia
Contact:

Reset Value to 0 button - Code

Post by Draise »

Code: Select all

Node.Value(Space.CurrentScene() + "*object*/*node*", "*attribute*") = 0
replace the *thing* with the appropriate thing.

Node.Value(Space.CurrentScene() + "/*object*/*node*", "*attribute*") = 0

I found this handy when working with morphs or anything else.
Post Reply