-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathujMain.jass
More file actions
33 lines (22 loc) · 816 Bytes
/
ujMain.jass
File metadata and controls
33 lines (22 loc) · 816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// ujMain.jass template Main)
function GameStartPost takes nothing returns nothing
local game gamestart = game.get()
call ExecuteFunc( "Map" )
//>> Your code << //
call gamestart.destroy()
endfunction
function GameStart takes nothing returns nothing
local integer index = 0x0
local game gamestart = game.create()
set game.active = true
loop
set game.gamers[index] = gamer.create(index)
if game.gamers[index].flag then
//>> Your code << //
endif
set index = index + 1
exitwhen index == bj_MAX_PLAYERS
endloop
call gamestart.action ( function GameStartPost )
call gamestart.lag ( 2.5 )
endfunction