I told you it needed some cleaning up

Moderator: Moderators
They're rotating if there is a Turn(blah blah blah) command. Moving if there is a Move(blah blah blah) command. I seriously urge you to either modify heavily until you know what each function/line does, or create your own from scratch using lots of other scripts as a reference. Trial and error teaches you quicker than someone telling you.oksnoop2 wrote:Are things rotating on or moving in axes (fun fact: i had no idea what the plural of axis was..)?
Turn the leftfoot piece -1 unit on the x-axis speed 2 units.oksnoop2 wrote:Turn( leftfoot, x_axis, -1, 2 )
Turn( leftthigh, x_axis, 1, 2 )
what do the numbers mean?
Still (slowlyMasse wrote:FLOZi we love your basic game making pack... but for beginners it would be nice if you included some very simple tank with Lua scripts and everything it needs to work.
We would appreciate allot!
FLOZi wrote:Turn the leftfoot piece -1 unit on the x-axis speed 2 units.oksnoop2 wrote:Turn( leftfoot, x_axis, -1, 2 )
Turn( leftthigh, x_axis, 1, 2 )
what do the numbers mean?
So far as Turn is concerned, the units are in radians. Not sure if speed is rads per second or rads per gameframe.oksnoop2 wrote:FLOZi wrote:Turn the leftfoot piece -1 unit on the x-axis speed 2 units.oksnoop2 wrote:Turn( leftfoot, x_axis, -1, 2 )
Turn( leftthigh, x_axis, 1, 2 )
what do the numbers mean?
What is a unit?
Code: Select all
#define SIG_AIM 2
AimWeapon1(yadda) {
set-signal-mask SIG_AIM; // assigns bitmask of SIG_AIM to this function
signal SIG_AIM; // kills what ever functions match this bitmask
}