Basic Patrol Code and Wisp Whirl code doesnt work

April

New Member
Reaction score
0
i have 2 problems iwth my map: patrol code and wisp whirl code

here is my patrol code:

Code:
function Trig_Melee_Initialization_Actions takes nothing returns nothing
    call CreateFogModifierRectBJ( true, Player(0), FOG_OF_WAR_VISIBLE, GetPlayableMapRect() )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_375), "patrol", GetRectCenter(gg_rct_Region_374) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_379), "patrol", GetRectCenter(gg_rct_Region_380) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_381), "patrol", GetRectCenter(gg_rct_Region_382) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_382), "patrol", GetRectCenter(gg_rct_Region_383) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_384), "patrol", GetRectCenter(gg_rct_Region_385) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_386), "patrol", GetRectCenter(gg_rct_Region_387) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_388), "patrol", GetRectCenter(gg_rct_Region_389) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_390), "patrol", GetRectCenter(gg_rct_Region_391) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_392), "patrol", GetRectCenter(gg_rct_Region_393) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_394), "patrol", GetRectCenter(gg_rct_Region_395) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_396), "patrol", GetRectCenter(gg_rct_Region_397) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_400), "patrol", GetRectCenter(gg_rct_Region_401) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_398), "patrol", GetRectCenter(gg_rct_Region_399) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_402), "patrol", GetRectCenter(gg_rct_Region_403) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_404), "patrol", GetRectCenter(gg_rct_Region_405) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_406), "patrol", GetRectCenter(gg_rct_Region_407) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_408), "patrol", GetRectCenter(gg_rct_Region_409) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_410), "patrol", GetRectCenter(gg_rct_Region_411) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_412), "patrol", GetRectCenter(gg_rct_Region_413) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_414), "patrol", GetRectCenter(gg_rct_Region_415) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_416), "patrol", GetRectCenter(gg_rct_Region_417) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_418), "patrol", GetRectCenter(gg_rct_Region_419) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_420), "patrol", GetRectCenter(gg_rct_Region_421) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_422), "patrol", GetRectCenter(gg_rct_Region_423) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_424), "patrol", GetRectCenter(gg_rct_Region_425) )   
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_426), "patrol", GetRectCenter(gg_rct_Region_427) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_428), "patrol", GetRectCenter(gg_rct_Region_429) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_430), "patrol", GetRectCenter(gg_rct_Region_431) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_432), "patrol", GetRectCenter(gg_rct_Region_433) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_434), "patrol", GetRectCenter(gg_rct_Region_435) )    
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_436), "patrol", GetRectCenter(gg_rct_Region_437) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_438), "patrol", GetRectCenter(gg_rct_Region_439) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_440), "patrol", GetRectCenter(gg_rct_Region_441) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_442), "patrol", GetRectCenter(gg_rct_Region_443) )
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_444), "patrol", GetRectCenter(gg_rct_Region_445) ) 
    call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_446), "patrol", GetRectCenter(gg_rct_Region_447) )
endfunction
When i try saving the map it gives me this error:

Expected a function name

on
Code:
      call InitTrig_Melee_Initialization(     )

nvm about the wisp whirl, i figured it out by myself
Thanks for the support
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top