Author Topic: NPC Priority?  (Read 440 times)

chillyfeez

  • FF4 Hacker
  • *
  • Posts: 1,285
  • Gender: Male
  • Go ahead, ask me about Angel Feathers!
    • View Profile
NPC Priority?
« on: May 27, 2016, 12:37:07 PM »
You know how when two NPCs are standing on the same spot, the game has to choose which one is fully visible and which one is masked?
Anybody know his the decision is made?
Is there a way I can force a specific NPC to appear on top of the other?
Is it the order that they are on the list of the location's NPCs?
Does it depend on which one was in that spot first?
Something else?
 :hmm:

Bahamut ZERO

  • Cagnazzo
  • *
  • Posts: 347
  • Gender: Male
  • If ye're takin a beatin, hop in de back row!
    • View Profile
Re: NPC Priority?
« Reply #1 on: June 02, 2016, 04:12:10 PM »
Hmmm perhaps it's a mix of NPC location order and which one is on the tile first?

Maybe as a little test done on a backup of your project or something:

1) set up a map to use 4-5 npcs, maybe all main character npcs to help determine who's on top

2) have a standing Namingway chillin nearby. Add movement commands to his "if No" box so you can just talk to him and watch the npcs walk to the same tile ingame

3)????

4) PROFIT

Disregard steps 3 and 4, I coudn't help myself with the Suth Park reference.  :happy:

As an alternate test, you could try having said npcs already set to the same one location and unactivated, then set up namingways "If  no" box to activate them all simultaneously. That might help clue you in on what's going on!

(Meant to reply to this days ago, but it's been too hot for me to do a whole lot on my computer without getting half a headache. Sorry 'boot that.)
I update my graphics thread on almost a daily basis, so keep an eye out for new stuff!