SRL Archive - OSR Help

Need Random Event Help!


bottingbackup

2013-04-24 19:11:52

OK I am working on a Combat bot, everything works perfect except for one small problem..where this bot fights at is a high random area, randoms occur at least every ten minutes.

Well I could Just FindNormalRandoms; and that would take care of all my problems but no, I guess the FindNormalRandoms; sees that I am in Combat and decides to run away from the NPC I am fighting.

Is there a way to find and solve randoms without having this peoblem?

Thankyou!

EngageTheRage

2013-04-24 19:19:24

SRL_COMBATRANDOMS := False;

at the beginning of your script

by the way, are all the other randoms working for you?

bottingbackup

2013-04-24 22:32:55

From: EngageTheRage
SRL_COMBATRANDOMS := False;

at the beginning of your script

by the way, are all the other randoms working for you?


Thankyou! If this works your my best friend.

And frankly im not sure some do some dont but my script wont run long enough becuase of stupid combat random to do other randoms but i will let you know.