[Log in / Register]
| News | Chat | Pastebin | Donations | Tutorials | Rules | Forums |
| Maps | Skins | Icons | Models | Spells | Tools | Jass | Packs | Hosted Projects | Starcraft II Modding | Starcraft II Resources | Galaxy Wiki |
(Keeps Hive Alive)
Go Back   The Hive Workshop > Warcraft III > Triggers & Scripts


Triggers & Scripts In this forum you may ask for help on fixing a trigger or script. But if you need help getting started with a trigger, this is not the right place — use the World Editor Help Zone.

Closed Thread
 
Thread Tools
Old 04-16-2012, 08:35 PM   #1 (permalink)
Registered User Arhowk
Pleased to Meet You
 
Arhowk's Avatar
 
Join Date: Aug 2007
Posts: 2,661
Arhowk is just really nice (275)Arhowk is just really nice (275)Arhowk is just really nice (275)Arhowk is just really nice (275)Arhowk is just really nice (275)
Target of order?

Event - Any unit is issued an order targeting an object

-> Is there a way to return the item that the unit was issued to pickup?

long story short, im working out the bugs of a localized item system and one of the bugs is that if someone tries to pickup an item but has a full inventory than it will desync
__________________
Looking for something to do? Signup for dropbox with this link to help me get space!
Arhowk is offline  
Old 04-16-2012, 08:48 PM   #2 (permalink)
Registered User KnnO
I'm high
 
KnnO's Avatar
 
Join Date: Sep 2011
Posts: 171
KnnO has little to show at this moment (57)
Probably you can use:

Event
Unit - A unit Is issued an order targeting an object

Condition:
(Target item of issued order) isn't No item
Then

Item - Show (Target item of issued order)
Jass:
set udg_tmpItem  =  GetOrderTargetItem()
Maybe that's what you want?

I thought of a similar item system which checks if the unit is within a range of the item, so they will check what does the hero have and try to build something based on a recipe rule.
__________________
و ت ف
KnnO is offline  
Old 04-16-2012, 09:08 PM   #3 (permalink)
Registered User Arhowk
Pleased to Meet You
 
Arhowk's Avatar
 
Join Date: Aug 2007
Posts: 2,661
Arhowk is just really nice (275)Arhowk is just really nice (275)Arhowk is just really nice (275)Arhowk is just really nice (275)Arhowk is just really nice (275)
Target item of issued order. didnt see that lol
__________________
Looking for something to do? Signup for dropbox with this link to help me get space!
Arhowk is offline  
Closed Thread

Bookmarks

Thread Tools

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 Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 11:58 AM.




Powered by vBulletin
Copyright 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.5.1 PL2
Copyright © Ralle