![]() |
Player Position
I am use showani to display an ani. It works fine on an single level but, when i go on to the gmap it does not stay with the player. I am check position with player.x, and player.y . Any Ideas?
|
In the future it's best if you show the script you're using that's giving you a problem, but here is my advice:
PHP Code:
|
Ok i tried what you gave to me but theres a problem, it works on the first level of the gmap but after, you leave that level to another on the gmap the ani doesnt appears no more.
PHP Code:
|
May need to do some better order of operations, I'm not entirely sure.
PHP Code:
|
hmm its still the same, wonder whats the problem.
|
tried something like
PHP Code:
Or you could take a look at player.attr[1-30] and use those to show effects (Just assign a gani to one of the attr's like.. player.attr[20] = "zeek_effect_heal.gani";) |
Chompy's position%64 should work.
|
You also have the timeout outside of the timeout event block. More over, a timeout can't be smaller than 0.05, I believe. Yours is 0.005. I doubt this is actually the problem but it's worth fixing and remembering for the future.
|
Quote:
|
Ah yeah, I think mine would have worked better for a serverside situation :P
|
Quote:
|
hmm, Its still not working
|
Post the script you're currently using at the moment, please.
|
| All times are GMT +2. The time now is 11:37 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.