Hi
i need HCL for the bot hosting a map.
i put the library trigger.
but then i need to detect if HCL was used or not...
so i need something like "call HCL_GetCommand()" but how does it work?
[Jass=]function Trig_HCL_detect takes nothing returns nothing
call HCL_GetCommandString()
endfunction
//===========================================================================
function InitTrig_HCL_detect takes nothing returns nothing
set gg_trg_HCL_detect = CreateTrigger( )
call TriggerAddAction( gg_trg_HCL_detect, function Trig_HCL_detect )
endfunction[/code]
how do i call the function? (the command is white, not green, does it mean it doesn't work?)
how do i store it? ( how to transfert the data into a variable?)
then i only need to compare it null or not null //
and then read the data and launch the HCL game mode, or go to player choose mode.
need help please (do i need the "implement library" ?)
i need HCL for the bot hosting a map.
i put the library trigger.
but then i need to detect if HCL was used or not...
so i need something like "call HCL_GetCommand()" but how does it work?
[Jass=]function Trig_HCL_detect takes nothing returns nothing
call HCL_GetCommandString()
endfunction
//===========================================================================
function InitTrig_HCL_detect takes nothing returns nothing
set gg_trg_HCL_detect = CreateTrigger( )
call TriggerAddAction( gg_trg_HCL_detect, function Trig_HCL_detect )
endfunction[/code]
how do i call the function? (the command is white, not green, does it mean it doesn't work?)
how do i store it? ( how to transfert the data into a variable?)
then i only need to compare it null or not null //
and then read the data and launch the HCL game mode, or go to player choose mode.
need help please (do i need the "implement library" ?)