Cant Find Udg Remove terrain Type

X.Terror.X

New Member
Reaction score
10
I already tried to find this on web and this site.
I also checked This
But somehow i cannot find where i can destroy terrain type variables.
My map is leaking alot with this so i need a destroyer to anti leak it.

Does anyone know this custom script command?

Call Remove*******(udg_ReturnsTerrain[1])
 

X.Terror.X

New Member
Reaction score
10
not region, i want for the terrain type.

i got terrain types stored in variables.

into an array taketerrain and returnterrain variable.
but those 2 bug somethimes and take older or incorrect terrain types so they change to a wrong type of terrain type.
so in that case i have to destroy the variable to avoid memory leak
 

X.Terror.X

New Member
Reaction score
10
ok thats weird then. because my trigger does not always work properly.

it takes somethime wrong terrain type or returns the wrong type.


I dont thave the map on this pc. will post the trigger when i can
 

Romek

Super Moderator
Reaction score
963
Terrain types are (constant) integers. You can't destroy them.

There's something else wrong in your trigger.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top