Ok im makeing a sonic rpg and i want to make it to when it turns night sonic transforms into werehog i have a script that changes the tint depending on the time but if someone can help that be nice
...
i have no idea what you even said.
I have a script that turns the game to day and night depending on the clock on my computer. And I want to make it whenever it turns night time Sonic transforms into warehog sonic. Is this possible
Hmm.. I'm not good with scripts, but you can actually change the hero's charset animation. But that's in events...
Event it. Don't script it.
anyways, with the script you have now, just make a common event like this:
Parallel Process [On if the switch for NIGHT is ON]
>FadeOut Screen
>Change Character[sonic] into [weresonic]
>FadeIn Screen
Make another common event for when it's DAY time like this:
Parallel Process [On if the switch for DAY is ON]
>FadeOut Screen
>Change Character[weresonic] into [sonic]
>FadeIn Screen
Done. You could do this all in one common event, but this would make it probably easier for you to manage if you didn't know you could do this...
thnx for the help
With a common event controlled by a switch, won't the character continually be changing?
Frame 1: Oh - the NIGHT switch is on. Let's change the character to a werewolf
Frame 2: Oh - the NIGHT switch is still on. Let's change the character to a werewolf, even though it's already a werewolf
Frame 3: Oh - the NIGHT switch is still on. You get the picture.
...
Frame 9878: Oh - the DAY switch just went on. Let's change the character to Sonic.
Frame 9879: The DAY switch is still on. Let's change the character to Sonic, even though it's already Sonic.
Change the graphic wherever you set the switch to control day/night, and it'll be done once, at the right time, and not again until you NEED it to change ;)
I don't want to sit here discussion the basics of how to do this. It's too easy and I'm really sleepy and I don't want to mistype something weird and just confuse people ;o If this is truly still an issue I have no prob writing down EVERYTHING you'll have to change instead of just retyping the ~bare basics~ like I did before.
Quote from: froggyplay on August 17, 2009, 01:27:51 AM
Ok im makeing a sonic rpg and i want to make it to when it turns night sonic transforms into werehog i have a script that changes the tint depending on the time but if someone can help that be nice
Late reply:
So, you took my idea after all.
Well, lets see how good it's going to be.