• 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.

[Trigger] Help with making something MUI

Status
Not open for further replies.
Level 6
Joined
Nov 24, 2012
Messages
218
Okay my head is going to explode trying to make this MUI.
Can someone help please?

It's a code that makes random item drop from killed creep.
The item dropped flies a bit (it's a dummy unit)... and lands on the ground...
(it is a unit that turns into item that's possible to pick up after landing)

I used a jump system which seems to be MUI (or is it?...) but what is not is me setting the item values and stuff. I tried lots of times but somehow stuff disappears and goes wrong.

Don't know how to post trigger.
I am looking at the trigger "Card Drop 1" in Untitled Category Folder.
Here is screenshot.

2qdr4tu.png


Oh what this part is doing is making a dummy unit that looks like item fly off from dead creep then replaced with item.
The item is spawned in some random corner of map before to avoid the birth animation from showing then I moved the item to replace the dummy unit after it lands... thats the 0.65s wait time. It works fine but if I were to kill 2 creeps within that small timeframe... it screws up.

Here is my map if need it to solve this problem.

OH side note, this is really important to me too!
The Custom UI I imported with TIME Indicator clock at top isn't working... I don't know how to make that Time indicator clock work!
I'd really appreciate it if anyone could help me with that too!
 

Attachments

  • Duelist Tournament 1.0.w3x
    781.6 KB · Views: 32
Level 11
Joined
Aug 6, 2009
Messages
697
Level 6
Joined
Nov 24, 2012
Messages
218
Hashtables... I have never touched those and they seem so confusing. Thanks though!
I've tried other MUI methods like arrays and custom script though.

For timer I didn't mean using lumber/food as minutes and seconds I meant the day of time indicator with day/night thing in the middle of the top of screen.
I imported a custom one but don't know how to get it to work.
I guess something in game interface but I tried and still didn't show up.
 
Last edited:
Level 25
Joined
Jul 10, 2006
Messages
3,315
Enjoy.

Configuration:
Gravity = 1.50 //The acceleration of the height velocity. Higher = drops faster
Speed = 20.00 //The flat-map speed of the item. Multiply by 33 for warcraftspeed.
ZRangeStart = 10.00 //Initial height speed random low
ZRangeEnd = 13.00 //Initial height speed random high

ItemId = (ItemId + 1)
ItemType[ItemId] = Claws of Attack +15
//Copy these two lines for every new item you want to add.
 

Attachments

  • ItemFlyDropSystem001.w3x
    22.6 KB · Views: 39
Status
Not open for further replies.
Top