| 02-15-2004, 05:33 PM | #1 |
phew, right section Okay so im making a demo rpg map, and one of the triggers start a battle. I set it so once the enemy dies it does a victory thing, Like in final fantasy. Except its not working. Here is what I have down: Battle 1: EVENT- Unit- a unit enters battle 1 <gen> CONDITIONS- ((Triggering unit) is A hero) ACTIONS- Unit- Create 2 gnoll poacher for player 2 blue at center of monsters <gen> facing default buildings degrees Unit- Create 2 gnoll for player 2 blue at center of monsters <gen> facing default buildings degrees Unit- Create 1 gnoll brute for player 2 blue at center of monsters <gen> facing default buildings degrees Camera- Apply Battle Camerea <gen> for player 1 red for over 0.00 sec Sound- Play imported sound Chrono Trigger Battle Unit- Move elf warrior 009 <gen> instantly to center of battle <gen> Unit- Move tiki mage 010 <gen> instantly to center of battle <gen> Trigger- Run After Battle 1 <gen> (checking conditions) Trigger- Turn on (This Trigger) After Battle 1: Not initially on CONDITIONS- number of units in (Units in Fight <gen> )) Equal to 2 ACTIONS- Camera- Apply victory Camera <gen> for player 1 over 0.00 seconds Floating Text- Create floating text in the middle of victory <gen> reading Victory! Unit- move elf warrior 009 instantly to (Center of Victory2 <gen> ) facing 0.00 degrees Unit- move Tiki mage 010 instantly to (Center of Victory <gen> ) facing 0.00 degrees Animation - Play elf warriors 009 stand 4 animation Animation - play Tiki Mage 010 stand victory animation For some reason after the battle it does not go to the victory dance. Why? |
| 02-15-2004, 05:43 PM | #2 |
You made it so the condictions are if only 2 people are there, but you create 5 in the area. I dont know how big or where the regions are placed so if I am thinking right, you placed them all in a big area and the (Unit In Fight) region is covering the entire fighting area. So right after you create the units you check if there are 2 by running the other trigger checking conditions. Maybe do when a unit dies and the unit-type is the gnoll do the interger comparisen, thats the easiest way I can think of right now. |
| 02-15-2004, 06:03 PM | #3 |
I'm new to triggering, but basically you have it right. Its one large area and the two heroes are transported as well as the 5 made gnolls. But what trigger do i use to say unit dies. The problem is they are not intitially on the map so i cant use a specific unit event. :( Okay so now I made it so that battle 1 does not turn on the After Battle trigger. I made it so the after battle trigger is intial and I have it so it now has event Unit-dies The condition is still there and the rest of it is the same yet it still doesnt work. helps? |
| 02-15-2004, 06:13 PM | #4 |
Mind attaching it your next post so I can take a look? |
| 02-15-2004, 06:17 PM | #5 |
nvm i figrued it out, ty for the help thou battle, w/o that little piece of info I never would have gotten it. :D |
