![]() |
Movesprite and Movesprite2
Does anyone here encounter this problem and solve it?, sometimes movesprite and movesprite2 are working, sometimes not working, firered anyway.
|
In my new scripts I've found that only movesprite2 works to actually move a sprite (even though movesprite is used in game and works in vanilla scripts) so I just used that.
|
Quote:
|
Quote:
Could be a script thing. |
Quote:
|
If you're telling the wrong person to move, then you'd have a different OW showing up in the script. For instance, having person 0x2 as the leader of the enemy team and person 0xA is a hostage or something, then if you put in movesprite 0xA 0x(X coordinate) 0x(Y coordinate) or something similar, then the wrong person will show up. So I don't think that you're putting in the wrong OW number(unless you don't put in a person ID that exists on that map).
Also, unless you've been hacking the maps by hand, I think it's almost impossible to make two people have the same number. You'd have to have 256 people on one map in order for the player sprite and that one to start acting funny(or at least that's what I've read. I've never made that many people events on one map, that number is outrageous). I didn't know there was a difference between movesprite and movesprite2 to be honest. movesprite works for me, but I haven't ever used movesprite2 before because I haven't needed it. |
Quote:
Movesprite is temporary, movesprite2 is permanent. |
Quote:
Thanks, I didn't know that! |
weird, I had checked the person event number and person number and all are fine, it still doesnt work
|
Can you give us the script?
|
not in PC, but it's just
movesprite 0x1 0x19 0xE |
Does the person have a flag that needs to be set/cleared in order to be visible? Is there a level script already interacting with that sprite? That's all I can think of right now.
|
Quote:
#org 0x883A5E6 movesprite 0x4 0xA 0x19 end |
Sometimes I've found that if the person event is too far away movesprite2 won't work. Nver had an issue regarding movesprite, but you have to consider in the map refreshing once you walk such and such distance, so you will need to use the proper level script.
|
Try using the special that resets the map after movesprite2 (the one used after setmaptile)
It works most of the time |
| All times are GMT -8. The time now is 2:30 AM. |
![]()
© 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.
Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.