|
Axe Software Forums
Quest Developer Forum battle engine
|
Author | Topic: battle engine |
Jim Jones |
posted 04-01-2003 06:10 GMT
i am very confused about programing my battle engine... I am trying to make it so it chooses a bunch of random values, then resets and chooses different values...i also need it so it will make it so there is a extra tab for defining a monster (a sock cannot be a monster).... any help would be great....
|
Computer Whizz |
posted 05-01-2003 20:44 GMT
Erm, to choose random values just use the $rand( lowernumber : highernumber )$ to pick a number between the lowernumber and highernumber. Assign these to variables and you get your random values. If you put these into a procedure whenever you need to reset them just recall the procedure. For the "tab" in the monster, I'd add a property "monster" to a monster-type object. Computer Whizz |
Hemo |
posted 03-02-2003 14:06 GMT
Hello all. I'm new to the forum. I thought I just read in the tutorial or user info for QDK 3.12 that object tabs could be customized for just such an occassion. Can't remember where I saw it, though. Maybe Alex can shed some light on that for you. |