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