- Joined
- Oct 10, 2009
- Messages
- 111
Yesterday I get that I'm making my map in WE in version of Warcraft 1.21b ( i hope you get what i talking about)
I deleted that version, just this one left (1.24a).
Today, I enter to edit something in my map, I start to test..
It's error that whole my script map is wrong...
Here is the part of the text
And like that... I try to rr computer and stuffs like that, try to wait a little, but it isn't f' working.
Is there anyway that I can edit my map like this ? I think, I can edit it, but I can't save it or test it.
It's realy stupid ... and it's anoying me.....
+ Rep who helps
I deleted that version, just this one left (1.24a).
Today, I enter to edit something in my map, I start to test..
It's error that whole my script map is wrong...
Here is the part of the text
JASS:
call MoveRectToLoc( gg_rct_Einsten, GetRectCenter(gg_rct_Region_mover) )
endfunction
//===========================================================================
function InitTrig_Einstein takes nothing returns nothing
set gg_trg_Einstein = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Einstein, gg_rct_Einsten )
call TriggerAddCondition( gg_trg_Einstein, Condition( function Trig_Einstein_Conditions ) )
call TriggerAddAction( gg_trg_Einstein, function Trig_Einstein_Actions )
endfunction
//===========================================================================
// Trigger: Goodies
//===========================================================================
function Trig_Goodies_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'e000' ) ) then
return false
endif
return true
endfunction
function Trig_Goodies_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'E001', GetOwningPlayer(GetEnteringUnit()), GetRectCenter(gg_rct_Hero_spawn), bj_UNIT_FACING )
call RemoveUnit( GetEnteringUnit() )
call RemoveUnit( gg_unit_E001_0025 )
call MoveRectToLoc( gg_rct_Godies, GetRectCenter(gg_rct_Region_mover) )
endfunction
//===========================================================================
function InitTrig_Goodies takes nothing returns nothing
set gg_trg_Goodies = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Goodies, gg_rct_Godies )
call TriggerAddCondition( gg_trg_Goodies, Condition( function Trig_Goodies_Conditions ) )
call TriggerAddAction( gg_trg_Goodies, function Trig_Goodies_Actions )
endfunction
//===========================================================================
// Trigger: HammerGod
//===========================================================================
function Trig_HammerGod_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'e000' ) ) then
return false
endif
return true
endfunction
function Trig_HammerGod_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'H000', GetOwningPlayer(GetEnteringUnit()), GetRandomLocInRect(gg_rct_Hero_spawn), bj_UNIT_FACING )
call RemoveUnit( GetEnteringUnit() )
call RemoveUnit( gg_unit_H000_0026 )
call MoveRectToLoc( gg_rct_Hammer_God, GetRectCenter(gg_rct_Region_mover) )
endfunction
//===========================================================================
function InitTrig_HammerGod takes nothing returns nothing
set gg_trg_HammerGod = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_HammerGod, gg_rct_Hammer_God )
call TriggerAddCondition( gg_trg_HammerGod, Condition( function Trig_HammerGod_Conditions ) )
call TriggerAddAction( gg_trg_HammerGod, function Trig_HammerGod_Actions )
endfunction
//===========================================================================
// Trigger: AuraGod
//===========================================================================
function Trig_AuraGod_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'e000' ) ) then
return false
endif
return true
endfunction
function Trig_AuraGod_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'E003', GetOwningPlayer(GetEnteringUnit()), GetRectCenter(gg_rct_Hero_spawn), bj_UNIT_FACING )
call RemoveUnit( GetEnteringUnit() )
call RemoveUnit( gg_unit_E003_0053 )
call MoveRectToLoc( gg_rct_AuraGod, GetRectCenter(gg_rct_Region_mover) )
endfunction
//===========================================================================
function InitTrig_AuraGod takes nothing returns nothing
set gg_trg_AuraGod = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_AuraGod, gg_rct_AuraGod )
call TriggerAddCondition( gg_trg_AuraGod, Condition( function Trig_AuraGod_Conditions ) )
call TriggerAddAction( gg_trg_AuraGod, function Trig_AuraGod_Actions )
endfunction
//===========================================================================
// Trigger: Spell God
//===========================================================================
function Trig_Spell_God_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'e000' ) ) then
return false
endif
return true
endfunction
function Trig_Spell_God_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'H00F', GetOwningPlayer(GetEnteringUnit()), GetRectCenter(GetPlayableMapRect()), bj_UNIT_FACING )
call RemoveUnit( GetEnteringUnit() )
call RemoveUnit( gg_unit_H00F_0042 )
call MoveRectToLoc( gg_rct_Spell_Caster, GetRectCenter(gg_rct_Region_mover) )
endfunction
//===========================================================================
function InitTrig_Spell_God takes nothing returns nothing
set gg_trg_Spell_God = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Spell_God, gg_rct_Spell_Caster )
call TriggerAddCondition( gg_trg_Spell_God, Condition( function Trig_Spell_God_Conditions ) )
call TriggerAddAction( gg_trg_Spell_God, function Trig_Spell_God_Actions )
endfunction
And like that... I try to rr computer and stuffs like that, try to wait a little, but it isn't f' working.
Is there anyway that I can edit my map like this ? I think, I can edit it, but I can't save it or test it.
It's realy stupid ... and it's anoying me.....
+ Rep who helps