(Keeps Hive Alive)
Go Back   The Hive Workshop - A Warcraft III Modding Site > Warcraft III Modding > World Editor Help Zone

World Editor Help Zone Need help with Blizzard's World Editor? Ask general questions about its features and use in this forum. README!

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 06-22-2007, 10:52 PM   #1 (permalink)
 
13lack.1)ragon's Avatar

Creator of Corrupted TD
 
Join Date: Dec 2005
Posts: 303

13lack.1)ragon has little to show at this moment (13)13lack.1)ragon has little to show at this moment (13)


Question Randomly drop items

I am making a map where i want a specific type of creature to drop an item randomly. What this means is that 1/50 of these monsters will drop the item.

My current trigger goes as:


Troll Axe
Events
Unit - A unit Dies
Conditions
(Owner of (Dying unit)) Equal to Neutral Hostile
Or - Any (Conditions are true)
Conditions
(Unit type of (Dying unit)) Equal to Troll Youngblood
(Unit type of (Dying unit)) Equal to Troll
Actions
???


I need to know how to fill up this area. I want the Troll Axe to fall at the feet of the slain troll. (Item is dropped 2% of the time when one of those 2 are killed.)
__________________
There is nobody so irritating as somebody with less intelligence and more sense than we have.
13lack.1)ragon is offline  
Old 06-22-2007, 10:57 PM   #2 (permalink)

User
 
Join Date: Jun 2007
Posts: 10

TheDamien has little to show at this moment (1)


Add to conditions:

"(Random integer between 1 and 50) equal to 1"

And then to actions:

"Create <Troll Axe> at <Position of dying unit>"
TheDamien is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Units drop items on death. AlphaChkn World Editor Help Zone 10 01-05-2008 01:41 PM
[Solved] why wont items drop upon death? Raszagal World Editor Help Zone 5 11-21-2007 01:07 PM
When building dies, Items still drop. Graves Map Development 1 06-27-2006 04:51 AM
How Do You Make Spawned Units Drop Items??? Hairybeavet Map Development 6 12-12-2005 02:22 AM
Computer abilites and drop items on death help DrumMage Map Development 6 07-10-2004 01:54 PM

All times are GMT. The time now is 05:46 AM.






Your link here 
Online Loans | Advertising | Bankruptcy | Loans | Debt Consolidation
Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Copyright©Ralle