• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

need help with 2 things, please help

Status
Not open for further replies.
Level 2
Joined
Aug 27, 2005
Messages
7
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
 
Level 22
Joined
Jan 10, 2005
Messages
3,426
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.
Top