YesNoOk
avatar

increasing the guard chance of AI (Read 461 times)

Started by urboyfriend, October 02, 2011, 11:57:37 am
Share this topic:
increasing the guard chance of AI
#1  October 02, 2011, 11:57:37 am
  • avatar
  • *
how do we generally increase the guard chance of AI? im probing inside daimonmau's Ragna AI code and i think i found the guard code inside the secommon, but im clueless how to edit the guard chance, any tips how should i handle this? thank you for the replies!
Re: increasing the guard chance of AI
#2  October 03, 2011, 12:47:57 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Chance is normally managed by random triggers.

Random < 500 for example is 50% on a single tick.

If the value is really low, like say random < 10, make it bigger. Post the code snippet if you're unsure.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.