- Joined
- Apr 9, 2010
- Messages
- 425
Idk how to post an image so here i write the script:
So i made a variable Drop3=Real=Initial Value 0.00
Event
Unit-A unit dies
Conditions (none)
Actions
Set Drop3 = (Real number between 1 and 3)
wait 0.1 game-time seconds
If (Drop3 equal to 2) then do ( Unit - Create 1 footman for P1 at center of region 01),else ( Unit - Create 1 rifleman for P1 at center of region 01)
the problem is that the in game chance of creating a footman is null,though it should be 33%
what am i mistaking?
So i made a variable Drop3=Real=Initial Value 0.00
Event
Unit-A unit dies
Conditions (none)
Actions
Set Drop3 = (Real number between 1 and 3)
wait 0.1 game-time seconds
If (Drop3 equal to 2) then do ( Unit - Create 1 footman for P1 at center of region 01),else ( Unit - Create 1 rifleman for P1 at center of region 01)
the problem is that the in game chance of creating a footman is null,though it should be 33%
what am i mistaking?