HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Sell, But Don't Pawn

04-27-2007, 11:22 AM#1
Tide-Arc Ephemera
Ok, I want to make a shop so that it can sell items for units to use BUT it can't have items sold to it (as in traded for resources).

So, is there a way to make it so that there's a shop that sells items but doesn't pawn items?
04-27-2007, 11:49 AM#2
TheSecretArts
What im guessing is that you want it so when a unit tosses an item at a shop, it doesnt get any money back,
Trigger:
Collapse Events:
An Item is sold
Conditions:
Collapse Actions:
Set (Owner of (Triggering Unit)'s gold to ((Owner of (Triggering Unit)'s) current gold - (Sell cost of (Pawned Item))

Im not sure if that will work completely IE: Sell cost of (pawned item) because im not at my comp with War 3 so I can't test but a trigger would look something like this.
04-27-2007, 11:52 AM#3
Tide-Arc Ephemera
Quote:
Originally Posted by TheSecretarts
What im guessing is that you want it so when a unit tosses an item at a shop, it doesnt get any money back,
Trigger:
Collapse Events:
An Item is sold
Conditions:
Collapse Actions:
Set (Owner of (Triggering Unit)'s gold to ((Owner of (Triggering Unit)'s) current gold - (Sell cost of (Pawned Item))

Im not sure if that will work completely IE: Sell cost of (pawned item) because im not at my comp with War 3 so I can't test but a trigger would look something like this.



I try to avoid giving items a sell cost... because it says it sells for three gold but instead it gives two.

What I want is so that you CAN'T sell AT ALL to a certain type of structure.
04-27-2007, 01:31 PM#4
TheSecretArts
try looking under objects properties for Stats - Can be sold or for the building Stats - Can buy items
04-27-2007, 06:26 PM#5
Zwan
just remove the "shop purchase items" ability from the shop. It's in thier normal abilities field.
04-28-2007, 09:50 AM#6
Tide-Arc Ephemera
Are you joking? This is something so... ugh... it's bleck. It aggravates me now... but anyway...