| i having problems :(
[IMG]
http://www.geekshelf.com/gallery/driffin/HeresHow/untitled.bmp
[/IMG]
if you want here the trigger in custom text
PHP Code:
function Trig_collect_items_Copy_Func010002 takes nothing returns boolean
return ( GetUnitTypeId(GetEnteringUnit()) == 'HC01' )
endfunction
function Trig_collect_items_Copy_Func011002 takes nothing returns boolean
return ( GetUnitTypeId(GetEnteringUnit()) == 'HC01' )
endfunction
function Trig_collect_items_Copy_Func012002 takes nothing returns boolean
return ( GetUnitTypeId(GetEnteringUnit()) == 'HC01' )
endfunction
function Trig_collect_items_Copy_Func013002 takes nothing returns boolean
return ( GetUnitTypeId(GetEnteringUnit()) == 'HC01' )
endfunction
function Trig_collect_items_Copy_Func014002 takes nothing returns boolean
return ( GetUnitTypeId(GetEnteringUnit()) == 'HC01' )
endfunction
function Trig_collect_items_Copy_Func015002 takes nothing returns boolean
return ( GetUnitTypeId(GetEnteringUnit()) == 'HC01' )
endfunction
function Trig_collect_items_Copy_Func016002 takes nothing returns boolean
return ( GetUnitTypeId(GetEnteringUnit()) == 'HC01' )
endfunction
function Trig_collect_items_Copy_Func017002 takes nothing returns boolean
return ( GetUnitTypeId(GetEnteringUnit()) == 'HC01' )
endfunction
function Trig_collect_items_Copy_Func018002 takes nothing returns boolean
return ( GetUnitTypeId(GetEnteringUnit()) == 'HC01' )
endfunction
function Trig_collect_items_Copy_Func019002 takes nothing returns boolean
return ( GetUnitTypeId(GetEnteringUnit()) == 'HC01' )
endfunction
function Trig_collect_items_Copy_Func020002 takes nothing returns boolean
return ( GetUnitTypeId(GetEnteringUnit()) == 'HC01' )
endfunction
function Trig_collect_items_Copy_Func001003001 takes nothing returns boolean
return ( udg_items[( GetForLoopIndexA() - 1 )] == true )
endfunction
function Trig_collect_items_Copy_Func003001 takes nothing returns boolean
return ( udg_run == true )
endfunction
function Trig_collect_items_Copy_Func005001001 takes nothing returns boolean
return ( udg_randomnumber == 1 )
endfunction
function Trig_collect_items_Copy_Func005001002 takes nothing returns boolean
return ( udg_randomnumber == 2 )
endfunction
function Trig_collect_items_Copy_Func005001 takes nothing returns boolean
return GetBooleanOr( Trig_collect_items_Copy_Func005001001(), Trig_collect_items_Copy_Func005001002() )
endfunction
function Trig_collect_items_Copy_Func006001001 takes nothing returns boolean
return ( udg_randomnumber == 3 )
endfunction
function Trig_collect_items_Copy_Func006001002 takes nothing returns boolean
return ( udg_randomnumber == 4 )
endfunction
function Trig_collect_items_Copy_Func006001 takes nothing returns boolean
return GetBooleanOr( Trig_collect_items_Copy_Func006001001(), Trig_collect_items_Copy_Func006001002() )
endfunction
function Trig_collect_items_Copy_Func007001001 takes nothing returns boolean
return ( udg_randomnumber == 5 )
endfunction
function Trig_collect_items_Copy_Func007001002 takes nothing returns boolean
return ( udg_randomnumber == 6 )
endfunction
function Trig_collect_items_Copy_Func007001 takes nothing returns boolean
return GetBooleanOr( Trig_collect_items_Copy_Func007001001(), Trig_collect_items_Copy_Func007001002() )
endfunction
function Trig_collect_items_Copy_Func008001001 takes nothing returns boolean
return ( udg_randomnumber == 1 )
endfunction
function Trig_collect_items_Copy_Func008001002 takes nothing returns boolean
return ( udg_randomnumber == 2 )
endfunction
function Trig_collect_items_Copy_Func008001 takes nothing returns boolean
return GetBooleanOr( Trig_collect_items_Copy_Func008001001(), Trig_collect_items_Copy_Func008001002() )
endfunction
function Trig_collect_items_Copy_Func009001001 takes nothing returns boolean
return ( udg_randomnumber == 1 )
endfunction
function Trig_collect_items_Copy_Func009001002 takes nothing returns boolean
return ( udg_randomnumber == 2 )
endfunction
function Trig_collect_items_Copy_Func009001 takes nothing returns boolean
return GetBooleanOr( Trig_collect_items_Copy_Func009001001(), Trig_collect_items_Copy_Func009001002() )
endfunction
function Trig_collect_items_Copy_Actions takes nothing returns nothing
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 11
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
if ( Trig_collect_items_Copy_Func001003001() ) then
set udg_run = false
else
set udg_run = true
endif
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopBIndex = 1
set bj_forLoopBIndexEnd = CountPlayersInForceBJ(GetPlayersByMapControl(MAP_CONTROL_USER))
loop
exitwhen bj_forLoopBIndex > bj_forLoopBIndexEnd
call TriggerSleepAction( 0.01 )
set bj_forLoopBIndex = bj_forLoopBIndex + 1
endloop
if ( Trig_collect_items_Copy_Func003001() ) then
call DoNothing( )
else
return
endif
set udg_randomnumber = GetRandomInt(1, 8)
if ( Trig_collect_items_Copy_Func005001() ) then
call UnitAddItemToSlotById( GetTriggerUnit(), 'pspd', 1 )
else
call DoNothing( )
endif
if ( Trig_collect_items_Copy_Func006001() ) then
call UnitAddItemToSlotById( GetTriggerUnit(), 'gobm', 1 )
else
call DoNothing( )
endif
if ( Trig_collect_items_Copy_Func007001() ) then
call UnitAddItemToSlotById( GetTriggerUnit(), 'flag', 1 )
else
call DoNothing( )
endif
if ( Trig_collect_items_Copy_Func008001() ) then
call UnitAddItemToSlotById( GetTriggerUnit(), 'pnvu', 1 )
else
call DoNothing( )
endif
if ( Trig_collect_items_Copy_Func009001() ) then
call DoNothing( )
else
call DoNothing( )
endif
endfunction
//===========================================================================
function InitTrig_collect_items_Copy takes nothing returns nothing
set gg_trg_collect_items_Copy = CreateTrigger( )
call TriggerRegisterEnterRegion( gg_trg_collect_items_Copy, gg_rct_1, Condition(function Trig_collect_items_Copy_Func010002) )
call TriggerRegisterEnterRegion( gg_trg_collect_items_Copy, gg_rct_2, Condition(function Trig_collect_items_Copy_Func011002) )
call TriggerRegisterEnterRegion( gg_trg_collect_items_Copy, gg_rct_3, Condition(function Trig_collect_items_Copy_Func012002) )
call TriggerRegisterEnterRegion( gg_trg_collect_items_Copy, gg_rct_5, Condition(function Trig_collect_items_Copy_Func013002) )
call TriggerRegisterEnterRegion( gg_trg_collect_items_Copy, gg_rct_4, Condition(function Trig_collect_items_Copy_Func014002) )
call TriggerRegisterEnterRegion( gg_trg_collect_items_Copy, gg_rct_6, Condition(function Trig_collect_items_Copy_Func015002) )
call TriggerRegisterEnterRegion( gg_trg_collect_items_Copy, gg_rct_7, Condition(function Trig_collect_items_Copy_Func016002) )
call TriggerRegisterEnterRegion( gg_trg_collect_items_Copy, gg_rct_8, Condition(function Trig_collect_items_Copy_Func017002) )
call TriggerRegisterEnterRegion( gg_trg_collect_items_Copy, gg_rct_9, Condition(function Trig_collect_items_Copy_Func018002) )
call TriggerRegisterEnterRegion( gg_trg_collect_items_Copy, gg_rct_10, Condition(function Trig_collect_items_Copy_Func019002) )
call TriggerRegisterEnterRegion( gg_trg_collect_items_Copy, gg_rct_11, Condition(function Trig_collect_items_Copy_Func020002) )
call TriggerAddAction( gg_trg_collect_items_Copy, function Trig_collect_items_Copy_Actions )
endfunction
edit What wheres my Image?
oh well just right click, go to properties copy that images URL and got to that URL directly |