• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[JASS] Jass item drop script! help please

Status
Not open for further replies.
Level 2
Joined
Nov 3, 2006
Messages
8
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
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,259
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.
 
Level 2
Joined
Nov 3, 2006
Messages
8
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.
 
Level 2
Joined
Nov 3, 2006
Messages
8
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!
JASS:
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~
 
Status
Not open for further replies.
Top