[codes=jass]
globals
handle H
integer I
endglobals
[/codes]
[codes=jass]
function Trig_test_Actions takes nothing returns nothing
local integer I
local handle H
set H = GetTriggerUnit()
call BJDebugMsg(I2S(I))
endfunction
[/codes]
[trigger]
Sample
Events
Player - Player 1 (Red) skips a cinematic sequence
Conditions
Actions
Custom script: local integer udg_i
Custom script: local unit udg_u
Set u = 圣骑士0000 <gen>
Debug - Debug (String(i))
Set u = 大法师0004 <gen>
Debug - Debug (String(i))
Set u = 城镇大厅 0015 <gen>
Debug - Debug (String(i))
[/trigger]
[trigger]
Sample2
Events
Player - Player 1 (Red) skips a cinematic sequence
Conditions
Actions
Custom script: local integer udg_i
Custom script: local unit udg_u
Custom script: local real udg_r
Custom script: local boolean udg_b
Set u = 圣骑士 0000 <gen>
Debug - Debug (String(i))
Set r = 123.23
Debug - Debug (String(i))
Set b = True
Debug - Debug (String(i))
[/trigger]