- Joined
- Oct 11, 2012
- Messages
- 711
Hi all. I need help to get rid of the following BJs. What are the more efficient ways?
and this:
JASS:
function Trig_Begin_Survival_______uActions takes nothing returns nothing
local integer index
local force for
set for= GetPlayersAll()
set index = 0
loop
exitwhen index >= 16
if IsPlayerInForce(Player(index), for) then
call PanCameraToTimedLocForPlayer( Player(index), GetRectCenter(gg_rct_xiao), 0 )
call CreateFogModifierRectBJ( true, Player(index), FOG_OF_WAR_VISIBLE, gg_rct_KJD )
call SetPlayerFlagBJ( PLAYER_STATE_GIVES_BOUNTY, true, Player(index) )
call SetPlayerStateBJ( Player(index), PLAYER_STATE_RESOURCE_FOOD_CAP, 120 )
endif
set index = index + 1
endloop
call CreateFogModifierRectBJ( true, Player(11), FOG_OF_WAR_MASKED, gg_rct________104 )
call DisableTrigger( GetTriggeringTrigger() )
call EnableTrigger( gg_trg_TZ )
call DestroyTrigger( GetTriggeringTrigger() )
set for= null
endfunction
and this:
JASS:
all CreateTextTagLocBJ( "TRIGSTR_15046", udg_SDPoint, 50.00, 10, 15.00, 15.00, 100, 0 )