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

Activate event by % ?

Question

Hey guys , I was wondering if its possible to make an event activate by % .. an example: like in final fantasy 8 there are times when a summon appears in the begining of the fight or if you die. So is something like this possible?

 

if you didnt understand what i ment , ill try and explain better. Id like an event activating randomly during battles and iam wondering if anything like the sort is possible with a script or something? I know i can do this with variables and switches , but I cant make it "Randomized"

 

Any help would be appriciated =) //Kds

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

all you need to do is:

 

  • Set your percent chance (in variable '1')
  • Make a random number variable from 1-100. (in variable '2')
  • Then, set a if statement where if variable 2 is equal to or less than variable 1, it triggers.

Share this post


Link to post
Share on other sites
  • 0

all you need to do is:

 

  • Set your percent chance (in variable '1')
  • Make a random number variable from 1-100. (in variable '2')
  • Then, set a if statement where if variable 2 is equal to or less than variable 1, it triggers.

 

Polraudio explained that to me to :P so i got it now =) thanks

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...