ID:266399
 
I want to do a battle system with encounters in certain terrains and such...but when i try some codes it says no errors but i fixed everything correct(i think) and the game loads..but no enounters...

Someone help me

my email is [email protected]
Look for Zagreus's Random Combat in the demoes section.
In response to WizDragon
i have done that code before, it doesnt work for me
In response to Dark Master XII
Put in lots of testing statments to see whats happening.

If your running an Entered proc for each step for instance, put in some test ouput phrases to see what it's doing and what it isn't doing. Sort of like this:

Entered()
world << "Entered"
if(test)
world << "testing: [test]"
Battle()
world << "tried to battle"

Battle()
world << "trying to battle"
if(prob(10))
world << "should battle"
Attack()
world << "tried to attack"

And so on. This is a little extensive and you shouldn't need that many testing statments but it should help you determine where the problem is.