- Joined
- Mar 3, 2006
- Messages
- 1,564
When I opened the map.j file I found something that I don't understand.
1) I created 2 triggers: Untitled Trigger 001 and Untitled Trigger 002.
I converted Untitled Trigger 001 to custom text and then removed all the text when the trigger is converted.
The other one was left empty events, conditions and actions.
now to the most important part, the map.j:
in the line
1) I created 2 triggers: Untitled Trigger 001 and Untitled Trigger 002.
I converted Untitled Trigger 001 to custom text and then removed all the text when the trigger is converted.
The other one was left empty events, conditions and actions.
now to the most important part, the map.j:
JASS:
//***************************************************************************
//*
//* Triggers
//*
//***************************************************************************
//===========================================================================
// Trigger: Untitled Trigger 001
//===========================================================================
//TESH.scrollpos=-1
//TESH.alwaysfold=0
//===========================================================================
// Trigger: Untitled Trigger 002
//===========================================================================
function Trig_Untitled_Trigger_002_Actions takes nothing returns nothing
endfunction
//===========================================================================
function InitTrig_Untitled_Trigger_002 takes nothing returns nothing
set gg_trg_Untitled_Trigger_002 = CreateTrigger( )
call TriggerAddAction( gg_trg_Untitled_Trigger_002, function Trig_Untitled_Trigger_002_Actions )
endfunction
//===========================================================================
function InitCustomTriggers takes nothing returns nothing
call InitTrig_Untitled_Trigger_001( )
call InitTrig_Untitled_Trigger_002( )
endfunction
in the line
call InitTrig_Untitled_Trigger_001( )
the function InitTrig_Untitled_Trigger_001( ) don't exist, how is it possible to call it when it don't exist without causing any errors ?