Thanks for the upload Ghetto although I am a bit confused with it. One of the numbers I have that corresponds to the N01M is "1315990632". When I put it in the Integer Manager, it converts it to "Nplh". When I view the characters in the object viewer as raw data in the WE GUI I see "Nplh:N01M". Basically, I am confused on what the Nplh tells me besides that it is the unit (N01M) which I already know via parts of your tutorial on restoration that were applicable.
Code:
function vZ8 takes nothing returns nothing
call DisableTrigger(GetTriggeringTrigger())
call ForGroupBJ(sA(GetTriggerPlayer(),1315990632),function vR8)
call CreateNUnitsAtLoc(1,1311781197,GetTriggerPlayer(),GetRectCenter(GetPlayableMapRect()),bj_UNIT_FACING)
if(v28())then
call SetUnitPositionLoc(GetLastCreatedUnit(),GetRandomLocInRect(udg_rect14))
else
call SetUnitPositionLoc(GetLastCreatedUnit(),GetRandomLocInRect(udg_rect15))
endif
set udg_units02[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call SelectUnitForPlayerSingle(udg_units02[GetConvertedPlayerId(GetTriggerPlayer())],GetTriggerPlayer())
call DisplayTextToForce(GetPlayersAll(),"Jiraiya starts to get serious...")
return
endfunction
From what I see it says GetTriggerPlayer(), 1315990632)... That to me makes it sound like the 1315990632 is a trigger of some sort, but the Nplh seems to be the actual character in the world editor.