- Joined
- Jul 22, 2007
- Messages
- 261
How would i make a truely random trigger becuase the Random Number function in WE isent really random and it will ruin the game I am working on if its not Ture Random.
Help Will be greatly appreciated



-
Random Group
-

Events
-


Map initialization
-
-

Conditions
-

Actions
-


Set TotalHeroes = 12
-


Set RandomCount = 12
-


Set HeroArray[1] = Paladin
-


Set HeroArray[2] = Archmage
-


Set HeroArray[3] = Blood Mage
-


Set HeroArray[4] = Mountain King
-


Set HeroArray[5] = Blademaster
-


Set HeroArray[6] = Tauren Chieftain
-


Set HeroArray[7] = Far Seer
-


Set HeroArray[8] = Shadow Hunter
-


Set HeroArray[9] = Crypt Lord
-


Set HeroArray[10] = Death Knight
-


Set HeroArray[11] = Lich
-


Set HeroArray[12] = Dreadlord
-


Set RandomData[RandomCount] = RandomCount
-
-
-
Random Sell
-

Events
-


Unit - A unit Sells a unit
-
-

Conditions
-


(Unit-type of (Sold unit)) Equal to Random Hero
-
-

Actions
-


Unit - Kill (Sold unit)
-


Unit - Create 1 HeroArray[(Random integer number between 1 and 12)] for (Owner of (Sold unit)) at ((Owner of (Sold unit)) start location) facing Default building facing degrees
-


Camera - Pan camera for (Owner of (Sold unit)) to ((Owner of (Sold unit)) start location) over 1.50 seconds
-


Selection - Select (Last created unit) for (Owner of (Last created unit))
-
-
Help Will be greatly appreciated














