Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
Sign in to follow this  
Ramenuzumaki

Variable Question

Question

So im trying to make a quest where you have to kill 10 of a certain monster. Doing this in the troop i have two conditional branches: one is "if the wolf quest switch is on" then inside there it is "if the wolf quest variable is less than 10" it would increase the variable by 1 or 2 depending on which troop. one troop has one wolf the other has two.

 

my question is: do variables carry over from map to map? if not how would i go about making this quest?

i am willing to upload an unencrypted version of Æsir so you could see what my event looks like if it is needed.

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

They do carry over, as well as switches.

 

I don't think you need to only add 1 to the variable when its under 10. It doesn't really matter, but you can just turn the switch off when the variable equals 10.

Share this post


Link to post
Share on other sites
  • 0

i dont think its adding though. i have a condition in one event where the variable is 1+ to say how many wolves you've killed but it doesnt work.

 

this is what I have for my event/troop. It doesnt go passed page 2 of the event no matter how many wolves you kill.

 


 

Troop:

 

WolfsBane1.jpg

 

 

Event:

 

WolfsBane2.jpg

WolfsBane3.jpg

WolfsBane4.jpg

WolfsBane5.jpg

WolfsBane6.jpg

 

Share this post


Link to post
Share on other sites
  • 0

probably because the way you have evented this.. the easy way would be to create the two troops with 1 wolf and two wolfs.

 

in the event that triggers the battle, after battle is complete THEN change variable to add+1 or +2 to the variable depending on how many wolfs were in the troop. I think that because you have done the event in the actual TROOP screen it has different triggers. when eventing in a troop it is more for a boss battle that has a transformation or speech or what not, not an actual quest.

 

i hope this is clear enough to understand :S

Share this post


Link to post
Share on other sites
  • 0

1. Yes switches and variables are global throughout the entire game.

2. I can make an example demo for you. Expect it by the end of tomorrow. :3

Share this post


Link to post
Share on other sites
  • 0

thank you kiashi!

 

@ Raikou: I dont have an event that triggers the battle. I was hoping to use it as a random encounter. I do have two troops though. One with 1 Urufu, one with two both evented the same so i didnt think i needed to paste them both hehe. I didnt really want to have to set up events on the map to do it cuz of the random encounters D:

Share this post


Link to post
Share on other sites
  • 0

i see where your problem is then... the thing i can't actually figure out is how to get the system to check for a killed enemy during the battle to Up the variable :S...

 

perhaps you can create a variable that is set to the amount of HP the enemy has and once said variable = 0 then variable (total kills) +1 ? that might work..

Share this post


Link to post
Share on other sites
  • 0

ok i couldnt figure out how to do it like you said so i tried making it only one conditional branch for the variable and it works now :3

thanks a bunch! <3

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...