HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Observatory Based Shop

06-27-2006, 11:04 AM#1
ElvenTitz
Well, i got a building that gives out quests it works like observatory with reveal, i mean a unit uses it's ability and player recives quests, ability is removed after that. All were fine, till i decided to make an delivery mission, i've god a problem here. How can i detect a unit that should be given a package that he should deliver ? I've tryed buing units etc but they seem not to work. Halp! )
06-27-2006, 01:13 PM#2
MercyfulJester
Delivery quest, eh? What exactly is the problem? You don't know how to make the triggers?


--------------------

Unit - unit acquires an item

Item-type of the item being manipulated equal to XXXX

X amount of actions

--------------------


Or is the problem that you cannot detect the unit who delivers the item? One solution would be to make a trigger:


-----------------------

Unit - unit loses an item

Item-type of the item being manipulated equal to XXXX

Set hero manipulating item to DeliveryHero (A unit variable)

-----------------------
06-27-2006, 02:53 PM#3
ElvenTitz
No, i want to detect the unit that was selected by "select unit" ability at the moment i ordered to activate an ability. I mean i got a unit that gives quests away, it is neutral-passive and has "select unit" ability and set of dummy abilitys wich lead to triggers that gives quests etc. All was perfectly fine till i decided to make a delivery one. I need to detect wich unit is selected by this ability to give it an item.
06-27-2006, 06:18 PM#4
MercyfulJester
Ah yes. I do not think it can really be detected, but it is too bad to just create the item on the ground somewhere near the guest giver? It's a multiplayer map I presume?
06-27-2006, 06:39 PM#5
ElvenTitz
Yes it is, i ended up putting it in front of it.