Yeah you are right.. Well i decided i think i wanna use unity. Cause I have no idea how to change the Ai or Gui in doom..Was hoping to find a type of easy editor.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
timer++;
if (timer < 4) return; // 4 is the animation delay
timer = 0;
frame += f_dir;
if (frame == 392 || frame == 610) f_dir = -f_dir;
Smoke1.Graphic = frame;
Smoke2.Graphic = frame;
Smoke3.Graphic = frame;
frame += f_dir;
if (frame == 611 || frame == 385) f_dir = -f_dir;
int frame, f_dir = 1, timer;
function Room_RepExec() {
if (!smokeanim) return; // Not sure what this is?
timer++;
if (timer < 4) return; // 4 is the animation delay
timer = 0;
frame += f_dir;
if (frame == 150 || frame == 20) f_dir = -f_dir; // at the end, change direction // Here I am guessing is if the frame reaches 150 it goes back if it reaches 20 goes forward.
oSmoke1.Graphic = frame;
oSmoke2.Graphic = frame;
oSmoke3.Graphic = frame;
}
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.051 seconds with 13 queries.