View previous topic :: View next topic |
Author |
Message |
Greenwado Well, it's just me, what did you expect?

Joined: 09 Aug 2010 Posts: 70 Location: Okacha (OK-A-CHA)
|
Posted: Fri Oct 22, 2010 7:30 pm Post subject: Beastiery? |
|
|
Is there a way to make a "Bestiary" that lists all the enemies in the game when you defeat them? _________________ Happy RPG Makin |
|
Back to top |
|
 |
Bagne ALL YOUR NUDIBRANCH ARE BELONG TO GASTROPODA

Joined: 19 Feb 2003 Posts: 518 Location: Halifax
|
Posted: Fri Oct 22, 2010 8:22 pm Post subject: |
|
|
You want them added to the list only after you defeat them?
I can think of an annoying complicated way:
When an enemy dies, cause it to spawn an invisible enemy who immediately performs a single attack which does two things:
1) turns on a "this enemy has died" tag
2) makes the invisible enemy commit suicide
This way, every time a new enemy is killed, a new tag is switched on.
You can use this list of tags to make NPCs appear in a "bestiary" map, or make enemy names appear on menu lists.
This method is annoying because for each enemy, you're required to make an additional invisible enemy and tag-setting attack. _________________ Working on rain and cloud formation |
|
Back to top |
|
 |
TMC On the Verge of Insanity
Joined: 05 Apr 2003 Posts: 3240 Location: Matakana
|
Posted: Mon Oct 25, 2010 5:39 am Post subject: |
|
|
You could also use an instead-of-battle script which, as long as defeat a formation instead of running away, sets tags based on which enemies are in the formation. That's less work because you'll only have to add one line to a script (I can provide the script). However if you kill an enemy and then run away from the rest, the script won't know. _________________ "It is so great it is insanely great." |
|
Back to top |
|
 |
|