need help with 2 things, please help

Status
Not open for further replies.

chipopo

C

chipopo

Hello there, i need help in 2 stuff in WE
(my english is sux a bit, so please forgive me :( )

1)
how i make a creatable item, that i have to combine with some item to create another item? (for example to create a sword from 3 other items)

2)
and another problem, how i do make a key for a gate?.
i mean by that, if i want to open a gate i must have a key to open it and i cant broke the gate with hits
 
1)
Events:
Unit acuires an item
Conditions:
Item = 'Item 3'
Actions:
If:
Hero manupilating item has 'Item 1'
Hero manupilating item has 'Item 2'
Then:
Remove 'Item 1'
Remove 'Item 2'
Remove 'Item 3'
Create 'Item 4' for hero manupilating item

2)
Events:
Unit enters 'rect in front of the gate'
Conditions:
Triggering (or entering) unit has 'key'
Actions:
Trigger - Turn off this trigger
Destructible - Open 'The Gate'
(Sound - Play 'open gate sound')
 
Status
Not open for further replies.
Back
Top