dim3 Forum

Full Version: A few questions...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
1 Is there anyway i can make objects move relating to where they are?

EG: "something happens"

obj.move.x."10".

2 How can i make something happens when something gets to a certain health?

EG:
Code:
Health="100"{

Do Stuff

}
1.) Title this thread on-topic please

1-a.) Read the docs

2-b.)
Code:
if (obj.player.health == 100) {
   pwn_the_enemy();
}
1. Doesn't answer my question, and i can't find it in the docs.

2. Thankyou =)
First ones in the docs. Search "move" in the object-object section. Wink
Thanks, i'll try it now.
Reference URL's