Bullet_Darkness
Member
I joined, second member.
Link in Pink":3n62v0wq said:GOT2MOVE":3n62v0wq said:how do I activate switches after boss has died? i can't find it in the script
Find this section in XRXS- XAS
Code: DEFEAT_SWITCH_IDS = {  8=>57,  #Great Bird   - Fim do tutorial.  9=>57  #Great Bird L2 - Fim do tutorial.  }  Â
To add another switch simply put a comma after the last item and on a new line put this in:
ID of enemy (according to the database)=>Switch Number you want activated when the boss dies.
So your finished code will probably look similar to this:
Code: DEFEAT_SWITCH_IDS = {  8=>57,  #Great Bird   - Fim do tutorial.  9=>57,  #Great Bird L2 - Fim do tutorial.  10=>91 #Boss  }  Â
That code means that when the 10th enemy in the database dies, switch number 91 will be activated.
Hope that helps.
-Lip
legacyblade":32h3cdh7 said:I understand it now! We should band together and make a tutorial on how to use XAS!
Lol, if you didn't understand, why didn't you ask. XDlegacyblade":o4a3du3r said:I understand it now! We should band together and make a tutorial on how to use XAS!