View previous topic :: View next topic |
Author |
Message |
Wapam Hope this hurts.

Joined: 18 Jul 2007 Posts: 42 Location: lacaster , california
|
Posted: Sat Aug 25, 2007 11:03 am Post subject: emoniconations???how do i do it?? |
|
|
i put
create npc (3, heroX(19), heroY (15)--1, WEST)
wait (10)
destroy npc (3)
but i wont work why?? |
|
Back to top |
|
 |
TwinHamster ♫ Furious souls, burn eternally! ♫

Joined: 07 Mar 2004 Posts: 1352
|
Posted: Sat Aug 25, 2007 11:21 am Post subject: |
|
|
Okay, so I'm to assume that npc(3) is your emoticon bubble, yeah?
It looks like you want it to appear at (19, 15).
In this case, simply take out the herox and heroy, which should give you:
Code: | create npc (3, 19, 15, WEST) |
herox and heroy are used to return the position of the hero indicated.
In your example, you are asking for hero #19's x-coordinate and hero #15's y-coordinate. And I doubt either of them are in your party.
The --1 part is for placing the npc one tile above the hero, so that it isn't directly on top of him.
|
|
Back to top |
|
 |
Moogle1 Scourge of the Seas Halloween 2006 Creativity Winner


Joined: 15 Jul 2004 Posts: 3377 Location: Seattle, WA
|
Posted: Sat Aug 25, 2007 11:26 am Post subject: |
|
|
I think what he's looking for is either that or this: Code: | create npc(3, herox, heroy--1, WEST) |
_________________
|
|
Back to top |
|
 |
Wapam Hope this hurts.

Joined: 18 Jul 2007 Posts: 42 Location: lacaster , california
|
Posted: Sat Aug 25, 2007 12:33 pm Post subject: ty |
|
|
thanks guys it works now  |
|
Back to top |
|
 |
|