Welcome to the Creatures Wiki! Log in and join the community.
Editing Basic plant script
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 41: | Line 41: | ||
The next part is setting the variable we will use. | The next part is setting the variable we will use. | ||
− | + | setv ov10 rand 200 1000 | |
In this object, ov10 is the lifespan of the plant. We're setting it randomly from 200 to 1000. We'll see how to use this variable later. | In this object, ov10 is the lifespan of the plant. We're setting it randomly from 200 to 1000. We'll see how to use this variable later. |