Tutorial Random Item Drops

tooltiperror

Super Moderator
Reaction score
231
Why not use the terrain editor item drop editor...?

JASS:
Set Item[((1 x MainItemSize) + (Integer A))] = Grenade
Anything multiplied by one is always itself, so multiplying by one has no value here, unless you are trying to make it more customizable.
 

Sickle

New Member
Reaction score
13
>>Why not use the terrain editor item drop editor...?

Did you know that the terrain editor item table thing only works on preplaced units, and it uses itempools internally?
 

Deaod

Member
Reaction score
6
Okay, so you DO have weights. Im sorry then, i didnt think THAT kind of usage was intended.
Btw., thats a horrible solution, why dont you add two more arrays, one to hold the total amount of weight in an instance, and another one to hold the weight of a specific item in an instance?
 
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