Warcraft III resources & community, 2003–2006 · archived

Jass item drop script! help please

4 posts
#1

Jass item drop script! help please

Ok, first, im sorry if this should be in requests but it looked like that was purely for models and junk.
so heres my request-
I need a jass script that basicly says
The event-
Neutral hostile unit dies

The conditions-
whats droped is based on the unit level (not hero level)
random number (ex 1-100) and if higher then 25 (% based)

The Actions
Drop (item name here) at pos of triggering unit

Thats all i need really, and yes, i realise that was gui format .. heh.. anyway, thx
#2
You know you should learn jass. . .
Then you will not need to post requests like this and beg for people to make you a script.

And anyway even if someone did make you one you will not be able to understand how it works so it might not do what you want it to do.

Inorder to use jass you need to know atleast the basics and what you are asking for only requires basic Jass know how.

If jass is beyond you try making it with GUI since what you are saying seems like it can easily be done in GUI.
#3
Thx super, couldnt figure that out >.> i do know the basics of jass, but im still learning it. im not yet acustomed to the functions i need so i dunno where to start on that one >.> Besides, if it can be done in GUI i imagine it would be some horrendously long trigger.
#4
ok i get to eat my words on the GUI editor, so be it i was incorrect.
in anycase, my jass version works fine except one part!

call CreateItem ( rat3 , x , y ) // rat3 is the id for claws +3, 
          //x and y are local variables based on dead units place

Nevermind, once again my inexperiance strikes. 'rat3' not rat3.
Lates~