| Yoko http://forum.yoko.com.ua/ |
|
| UO.Random http://forum.yoko.com.ua/viewtopic.php?f=3&t=8245 |
Page 1 of 1 |
| Author: | Umuri [ 2006-07-16 06:00:58 ] |
| Post subject: | UO.Random |
This code is supposed to randomly summon an npc from 0000 to 1fff. The problem is, when run, it gives the same "random" number to each of the j arrays. I have a workaround using random16 random17 random18 and throwing out excess numbers, but is there a way to make it work with 3 calls for the same random set of numbers within a same function? Code: sub randsummon() |
|
| Page 1 of 1 | All times are UTC+02:00 |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|