Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
type 3 timers...
#1
so lemme get this straight, im trying to make a function on the ball.
first, it has a timer and i ik8'ed it to my character. when the timer ran out, i wanted it to go to the next ik8 sequence i made and prepared another time. but the timer only worked for my first sequence when i had 3.
is there a way to work around it?
i first looped 2 frames and added a timer hit_a: 1 to it.
then when it was finished, i hit_d: to next looping frames.
but the timer didnt work. it just jumped to the end which had no timer. i assumed that it just ran right through all the frames ignoring the other data and found the dead i made. is that right?
heres data:
~its been a long time coming~
Reply
Thanks given by:
#2
150 bar_empty
pic: 12 state: 3005 wait: 2 next: 151 centerx: 17 centery: -440 hit_a: 1 hit_d: 158 dvx: 550 dvy: 550 dvz: 550
itr: kind: 8 x: -300 y: -9000 w: 600 h: 300 dvx: 150 itr_end: #characters stick
itr: kind: 8 x: -300 y: -11000 w: 600 h: 300 dvx: 13 itr_end: #delete extra

151 bar_empty
pic: 12 state: 3005 wait: 2 next: 150 centerx: 17 centery: -440 hit_a: 1 hit_d: 158 dvx: 550 dvy: 550 dvz: 550
itr: kind: 8 x: -300 y: -9000 w: 600 h: 300 dvx: 151 itr_end: #characters stick
itr: kind: 8 x: -300 y: -11000 w: 600 h: 300 dvx: 13 itr_end: #delete extra

if you want to use the ik8 to stick an object to a char then the dvx need to be the frame you're just in. Test it with this and tell me if it work :p
[Image: random.php?pic=random]
www.lf-empire.de
Once I had a fortune, it said: "Leave now. Life is short. Time is luck"
Don't dream your life, live your dream!
Reply
Thanks given by:
#3
timer thingy: EVERY object has, as long as there are no specialties (weapon_hp, id: 52, etc), 500hp. This is also used for balls. What timer does: depending on how big hit_a is, the amount of hp will be decreased. If the object has run out of hp, it'll go to the hit_d-frame. As it won't recover hp, the other timers will run out immediately (as in no hp left). Solution: opoint a new object, either one that replaces your current object or an injury: -500 object @ state: 18
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by:
#4
Why don't you just spawn a new object that does the exact same thing?
Reply
Thanks given by:
#5
yeah ive come to that conclusion.
im not fully sure if i have it working...
its uhm...not spawning it the way i hoped it to...

EDIT: roar it wont opoint the object....
~its been a long time coming~
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)