sidove
Member
- Reaction score
- 22
Is there a way to sell lumber for gold like in items?
Like:
All my lumber is stored in a item?
+rep for help
Like:
All my lumber is stored in a item?
+rep for help
Is there a way to sell lumber for gold like in items?
Like:
All my lumber is stored in a item?
I think he means "English".wngliah
How do i do thisLazy peoples these days, I tells ya. I'ma throw one togetha' fer ya.
Trigger:
- Example(?)
- Events
- A unit uses an item.
- Conditions
- Item-type of (Item being manipulated) Equal to <Itemtype>
- Actions
- Item - Set Custom Value of (Item being manipulated) to (Custom Value of (Item being manipulated) + (Player(Owner of Triggering Unit)'s Lumber
- Player - Set Player(Owner of Triggering Unit)'s Lumber to 0
Hey, that turned out nicely for freehand!
Set Custom Value of (Item being manipulated) to (Custom Value of (Item being manipulated) + (Player(Owner of Triggering Unit)'s Lumber
I wouldn't know. I am not allowed to use the editor. But, I know that items have custom values. I used this to make a backpack system.
The action you are looking for is Item - Set Custom Value.