- Joined
- Jul 27, 2008
- Messages
- 175
Difficulty 1/10
For this tutorial you don't need any extra tools only Word Editor
This is very simple tutorial it contains 3 triggers and no variables, I think anyone can make it even someone who is new to WE. I don't have much experience with WE but when i was looking at "TaaZ's Item System" tutorial which does same thing as mine tutorial but mine is much easyer to make and i had some problems with TaaZ's system like when trigger makes item and i pick that one up i have 2 weapons or so...
anyway enough about that lets get started. Make first trigger, I'll call it Cant pick up uncheck it for initially on and make it go like this
as event put Player-Owed Unit Event and instead of dies put acquires item.
- Unit - A unit owned by Player 1 (Red) Acquires an item
Put condition item-class comparison change item-class of last created item and instead of last created item put event response - item being manipulated which should be equal to item class u want to use as weapons i will use artifact... so I'll put artifact, ok thats with condition.
- (Item-class of (Item being manipulated)) Equal to Artifact
Actions : first put text that says you can't have more that 1 weapon : action type game > text message (auto timed), set display to player 1 instead of all players and place the text u want to put
- Game - Display to Player Group - Player 1 (Red) the text: You can't have more...
- Item - Create (Item-type of (Item being manipulated)) at (Position of (Triggering unit))
- Item - Remove (Item being manipulated)
- Trigger - Turn on (This trigger)
-
Cant pick up
-
Events
- Unit - A unit owned by Player 1 (Red) Acquires an item
-
Conditions
- (Item-class of (Item being manipulated)) Equal to Artifact
-
Actions
- Game - Display to Player Group - Player 1 (Red) the text: You can't have more...
- Item - Create (Item-type of (Item being manipulated)) at (Position of (Triggering unit))
- Item - Remove (Item being manipulated)
- Trigger - Turn on (This trigger)
-
Events
-
Cant pick up on
-
Events
- Unit - A unit owned by Player 1 (Red) Acquires an item
-
Conditions
- (Item-class of (Item being manipulated)) Equal to Artifact
-
Actions
- Trigger - Turn on Cant pick up <gen>
-
Events
-
Cant pick up off
-
Events
- Unit - A unit owned by Player 1 (Red) Loses an item
-
Conditions
- (Item-class of (Item being manipulated)) Equal to Artifact
-
Actions
- Trigger - Turn off Cant pick up <gen>
-
Events
And for 3rd change unit acquires item to losses item for event and put trigger turn off for action so trigger that doesn't allow you to pick up weapon is off and once you pick up a weapon trigger will be back on simple as that.
Now some of you might be wondering why did I put first trigger like this
- Item - Create (Item-type of (Item being manipulated)) at (Position of (Triggering unit))
- Item - Remove (Item being manipulated)
- Item - Move (Item being manipulated) to (Position of (Triggering unit))
Note: takes 3 triggers for each player if you want to make for more players just copy and paste all those 3 and where it says player - 1 put 2,3,4 ....
This tutorial is written by me
there you go hope it helps and pm me if you didn't get something and comment this tutorial plz if I forgot anything, and I now i fixed my spelling
and heres map with those triggers if you need it
Attachments
Last edited: