Re: Mini Games
if some one has pleas respond then i will make more :p
Like that you could prevent knights to kill all archers or x-bows right when they spawn.
procedure OnTick;
var Random: Integer;
begin
Random := States.KaMRandom //or "for Random := States.KaMRandom-1 do"? idk, maybe the latter is wrong as well, I'm not a good scripter :D
begin
case Random of
1: begin <spawn data> end;
2: begin <spawn data> end;
3: begin <spawn data> end;
4: begin <spawn data> end; //with this the KaMRandom will give a random value, and if the value matches any of those, you can tell the game to spawn the units in a different place
else: begin <spawn data> end;
end;
end;
Users browsing this forum: No registered users and 3 guests
Powered by phpBB® Forum Software © phpBB Group Designed by ST Software |
![]() |