DagJakeTanner

Villager
Member
Joined
Jul 18, 2019
Messages
9
Reaction score
9
First Language
English
Primarily Uses
RMMV
Hey, all. I've been looking through the threads for a solution to this issue, but can't seem to find one. I'm trying to get an enemy NPC to go into a damaged state following the aftermath of a fight. I quickly discovered doing it with the Set Movement Route: Change Image strategy is a no-go, since that doesn't let you select an individual cell on the spritesheet. So, I tried setting it up to where a switch is turned on after the battle. In the NPC's event pages, I set up a new event page to change his image to the damaged state when said switch is turned on. The switch is activated during the cutscene, but instead of displaying the individual cell I chose, the NPC just vanishes. Not certain why. Below are the related images. Any and all help would be appreciated. Thanks a million!

Screenshot (66).png
The NPC before the fight.

Screenshot (67).png The NPC after the fight, once the switch 'PostWeirdo' is turned on. The image clearly displays him in his damaged state, selected from an individual cell.

Screenshot (69).png Ditto to the above. Just showing that I selected the proper image for the NPC.

Screenshot (71).png Here's the event cutscene that takes place after the battle. The NPC's image is changed to something new (that works fine). He backs up. The switch turns on, at which point the NPC disappears.
 

DagJakeTanner

Villager
Member
Joined
Jul 18, 2019
Messages
9
Reaction score
9
First Language
English
Primarily Uses
RMMV
Gave it a try, but it still didn't work. I tried both Direction Fix, and Direction Fix + Walking. It needs to be turned on in the NPC's event page for the damaged state, right?

Screenshot (72).png Direction Fix selected.

Screenshot (73).png Direction Fix + Walking selected.
 

SmashArtist

Lazy Artist
Veteran
Joined
May 31, 2016
Messages
917
Reaction score
1,789
First Language
English
Primarily Uses
RMMV
Before turning the switch on make sure to make the NPC's event turn down.

The reason for this is that the death image still uses MV's characterset system so technically it still has directions. Your NPC is probably facing a different direction than down so the image is displaying the left/right/up direction on the sprite where there is no image. (sorry if this doesn't make sense, I'm not sure the best way of explaining this)
 

DagJakeTanner

Villager
Member
Joined
Jul 18, 2019
Messages
9
Reaction score
9
First Language
English
Primarily Uses
RMMV
Ah, I see!! No worries, that makes sense. And it worked! Thank you very much for your help :D
 

Latest Threads

Latest Posts

Latest Profile Posts

E7DsT3VXsAInVpu

working on my avatar, because i couldn't stand looking at it anymore :D
still not finished though...
alpacaraptors = love!
''Finds icons that fits the game you're making'' Only covers 20% of what you need :p
I'm very manic-y right now. I didn't sleep and I wanted to get a bunch of stuff done, but didn't get anything done except the bare bones concept for a POSSIBLE game.
And I can't sleep now because I'm probably gonna be hanging out with my brother and I gotta discuss a bunch of BroCoG (our game group) junk with him plus it's far to late to sleep NOW.
poppetQuestBarryApproaches.jpg
While I wait for judging, I decided to start adding more "friends" to my attic. :LZSgrin:

I swear I need a whole sound pack of menacing squeaky toy noises. :kaoswt:
I can't believe I actually managed to stay motivated for the whole Game Jam duration (1 month!), definitely will be taking a break after this :0

Forum statistics

Threads
113,582
Messages
1,076,001
Members
147,567
Latest member
jjchua
Top