Theres 3 different types of rotates you can do. RotateRoll, RotateYaw, and RotatePitch. Experiment with all 3 until you find the one you want, in your script, you can do something like
Code Snippet
Plaintext
model RotateRoll(degrees,time);
where degrees is how many degrees you want it to rotate, and time is how many seconds you want it to take to rotate.
Theres 3 different types of rotates you can do. RotateRoll, RotateYaw, and RotatePitch. Experiment with all 3 until you find the one you want, in your script, you can do something like
Code Snippet
Plaintext
model RotateRoll(degrees,time);
where degrees is how many degrees you want it to rotate, and time is how many seconds you want it to take to rotate.
I'm getting an error when i try to compile this. I made tha bucket to a script_model, like doors and gave it targername "ex_bucket" and wrote "ex_bucket RotateRoll(360,45);" im the main function in mapname.gsc. What i'm i doing wrong? I dont know how the script works yet but i want the "saws" on the excavators to rotare from the start until i die.
I'm getting an error when i try to compile this. I made tha bucket to a script_model, like doors and gave it targername "ex_bucket" and wrote "ex_bucket RotateRoll(360,45);" im the main function in mapname.gsc. What i'm i doing wrong? I dont know how the script works yet but i want the "saws" on the excavators to rotare from the start until i die.
You need to get the ent of the object before telling it to do something.