u mean for a emote? like with dung cape? (it changes into npc and does emote then changes into another npc and does emote etc...?)
|
Base : Java
Pictures: None
Cimpile errors: None
So i have this simple problem.
I have tried using "try" and "finally" statements for this but it doesn't work.
So what i am trying to do is basicly
I've done many things such as registerAction and such & such, but i've gotten nowhere.Code:button = someKindOfButton { doThis(999); -> doThisThing(999); -> whenDoThis && whendoThisThing isDone ->doThat -> when doThat isDone -> doThisThat -> end
u mean for a emote? like with dung cape? (it changes into npc and does emote then changes into another npc and does emote etc...?)
ooh lol idk then xD
maybe u can use this ? and change it?Code:public void dungemote(final Client c) { EventManager.getSingleton().addEvent(new Event() { int dungtime = 13; public void execute(EventContainer dung) { if (dungtime == 13) { c.gfx0(2442); c.startAnimation(13190); } if (dungtime == 12) { c.npcId2 = 11228; c.isNpc = true; c.updateRequired = true; c.appearanceUpdateRequired = true; c.startAnimation(13192); } if (dungtime == 8) { c.npcId2 = 11227; c.isNpc = true; c.updateRequired = true; c.appearanceUpdateRequired = true; c.startAnimation(13193); } if (dungtime == 5) { c.gfx0(2442); } if (dungtime == 4) { c.npcId2 = 11229; c.updateRequired = true; c.appearanceUpdateRequired = true; c.startAnimation(13194); } if (dungtime == 0) { c.isNpc = false; c.updateRequired = true; c.appearanceUpdateRequired = true; } if (c == null || dungtime <= 0) { dung.stop(); return; } if (dungtime >= 0) { dungtime--; } } }, 600); }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |