• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[JASS] [Question] Item pool ?

Status
Not open for further replies.
Level 2
Joined
Sep 13, 2004
Messages
8
Hello ,

can you Help me ? How itempool does'it work ?

set m = CreateItemPool ()
call ItemPoolAddItemType(m,'I01Y',0.1 )
call ItemPoolAddItemType(m,'I01Z',0.5 )

When i ask to : call PlaceRandomItem(itempool,x,y)
it always drops the first item ( 'I01Y') . Why , what should i do ?

thanks .
 
Status
Not open for further replies.
Top