NinjaOverdrive wrote:
Can anyone give any more instructions on how slices could be used to create on-screen flashing or flames or whatever?
If you want a flash, you won't need slices. Either use a solid colour backdrop, or tint the palette. By backdrop:
Code:
show backdrop (1) #whichever
wait (1)
show map
wait (1)
show map
By tinting the palette:
Code:
tweak palette (32, 0, 0) #increase red value of ever colour in the master palette by 32 (out of 63)
update palette #actually set as the master palette
wait (1)
reset palette #reload master palette
update palette
update palette #actually set as the master palette
wait (1)
reset palette #reload master palette
update palette
tweakpalette is a pretty limited command, but it's quick and easy.
If you want, say, a big star-shaped white flash for a moment on the screen, you could use a backdrop slice like so (assuming the middle of the screen, and the flash is drawn centered on the backdrop):
Code:
variable (sl)
sl := load backdrop slice (1) #backdrop num
wait (1)
free slice (sl)
sl := load backdrop slice (1) #backdrop num
wait (1)
free slice (sl)
NinjaOverdrive wrote:
I have an NPC set to only appear when Tag 4=On.
I have a script written to make NPC move.
The NPC doesn't move after he appears.
I have a script written to make NPC move.
The NPC doesn't move after he appears.
Are you using "npc reference"? If so, you need to call "npc reference" AFTER toggling the tag (the NPC appears instantaneously, without requiring a wait command). NPCs hidden by tags are nearly completely invisible to scripts. If not, maybe post your script?
NinjaOverdrive wrote:
Camera Panning: I have a script that teleports to Map B at point x and I wanted it to scroll to point y. But no matter how much I set the distance for in the script the camera only pans half-way across the map before stopping at the same location each time.
It's not hitting a map edge, is it? Other than that I can't think of anything other than passing the arguments in the wrong order or something like that.
Quote:
Swapping Out/In Heroes: I have set a script "Swap Out Hero (0), Swap In Hero (1), Lock Hero (0)" but after the command the party has not changed.
Note you must always have at least one hero in your party, trying to swap out the only hero will cause some hero to be swapped back in. Also, have you previously added hero 1 to the party and swapped them out? You need to use "add hero" to do that.



