Page 1 of 1

Multiple random problem

PostPosted: Sat Sep 03, 2005 5:08 pm
by Novice
Hi, im stuck again :oops:. I have a problem with using random time. The problem is next, in a random time a character is supposed to be destroyed and a random character should be created.
I manged just fine creating random characters with "anim= rand(5)" and if comands. The thing is im using clones and they all produce diferent animations but all at the same time , i used the random time from moon defender tutorial (DestroyTimer ,Create Timer rand(5000)+1000) but that dosent seem to woork, whenever i start the game all the clones switch to diferent animations but all at once.
I searched the forum but no help. This is realy anoying me if someone could please help that would be realy stress releaving. Tell me what am i doing wrong. Thanks in advance.

PostPosted: Sat Sep 03, 2005 5:26 pm
by makslane
The Moondefender tutorial uses a very old Game Editor version.
You can create random timers in a more simple way.

Look at: http://www.game-editor.com/docs/getting ... reatetimer

PostPosted: Sat Sep 03, 2005 5:28 pm
by Novice
Sorry bout taking space, i just saw that i can create random timers and it worked perfectly. Once again sorry. :oops:
Progress of my game goes like this because of my programing:
1.day: 30%
2.day:50%
3.day:back to 10%
etc.
And thaks Makslane for the quick response. You are very helpful. :D