HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Removing leaks

04-21-2005, 03:29 AM#1
Zandose
Hey. Does anyone know how to get the last created region/point to use in removing regions/points. Like "GetLastCreatedRegion" and/or "GetLastCreatedPoint".

From "World Editor Unlimited" version 1.17
Code:
    call RemoveLocation()

    call RemoveRect()

    call RemoveRegion()

I have almost all the others though.
Code:
    call DestroyTextTagBJ(GetLastCreatedTextTag())

    call DestroyLeaderboardBJ(GetLastCreatedLeaderboard())

    call DestroyMultiboard(GetLastCreatedMultiboard())

    call DestroyQuest(GetLastCreatedQuestBJ())

    call DestroyEffectBJ(GetLastCreatedEffectBJ())

    call DestroyLightningBJ(GetLastCreatedLightningBJ())

    call DestroyGroup(GetLastCreatedGroup())

    call DestroyFogModifier(GetLastCreatedFogModifier())

    call RemoveDestructable(GetLastCreatedDestructable())

    call RemoveItem(GetLastCreatedItem())

    call RemoveUnit(GetTriggerUnit())

    call KillSoundWhenDoneBJ(GetLastPlayedSound())

    call DestroyTrigger(GetTriggeringTrigger())
04-21-2005, 08:26 AM#2
Anitarf
I already answered in your other thread, look there.
04-21-2005, 12:23 PM#3
Zandose
Oh, Thank you.