HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

item help

10-07-2003, 12:12 AM#1
truearkx
since i dont know where i puted the thread of this topic lol ile post it again
ok first thing of all if a person gets a sword of any type u can only carry 1 how do u do this??????? if u played legacies of tides of the serpent u remeber when u get an iten and u try to get another item of that type its says u can only carry 1 weapon of this type how do do thisemote_sweat
10-07-2003, 08:30 PM#2
element_5
Get a CLUE!
It's likely your previous thread was moved or deleted
10-08-2003, 02:51 AM#3
truearkx
looks like my thread was deleted :(
10-08-2003, 03:03 AM#4
Zachary_Shadow
Here is the triggers I use, to determin if a hero is carrying an item of the same type:

Red Dagger Aquire
Events
Unit - A unit owned by Player 1 (Red) Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Kelen's Dagger of Escape
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Weapon Equal to 1
Then - Actions
Set Weapon = 2
Hero - Drop (Item being manipulated) from (Triggering unit)
Game - Display to (All players matching ((Owner of (Triggering unit)) Equal to Player 1 (Red))) the text: You already have a Dagger!
Else - Actions
Set Weapon = 1

Red Dagger Loose
Events
Unit - A unit owned by Player 1 (Red) Loses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Kelen's Dagger of Escape
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Weapon Equal to 2
Then - Actions
Do nothing
Set Weapon = 1
Else - Actions
Set Weapon = 0

It works :)

Hope that helps
10-08-2003, 03:05 AM#5
truearkx
yay thankz yay now i can work on my rpg
10-08-2003, 03:09 AM#6
Vilex
go go go ZS!!! i was just about to say that but in different words...you got to this post b4 i did :(
10-08-2003, 03:17 AM#7
truearkx
i i have no idea how to do the acstion part i cant seem to find all condions ?
10-08-2003, 03:18 AM#8
Zachary_Shadow
MUHAHAHAH, sometimes, I have my bright moments :P lol :)

Lemme know if ur having trouble with it Truearkx, I'll help ya out.
10-08-2003, 03:20 AM#9
truearkx
i just told it doesnt say nething in my acstion thinge all condiotions what do i do lol
10-08-2003, 03:20 AM#10
Zachary_Shadow
You will need to set up variables for the weapons. Thoes are the conditions. It's an easy way to say: This is right and this is wrong.

Click the X in the editor to bring up Variables edit. There select new and pick integer. Then give it a name and make the trigger :)
10-08-2003, 03:49 AM#11
truearkx
i got it to work thankx shadow lol u have any idea how to do the save aysteam like in legacies? lol tides of the serpent lol
10-08-2003, 04:09 AM#12
Zachary_Shadow
Save System

At your service :) This should be working (Never tried it really, no need in my map) But download it and see what you can find out :)

Glad u made it work :)
10-08-2003, 04:35 AM#13
truearkx
ty shadow thx but i got a problem he protected his map lol
10-08-2003, 04:39 AM#14
Supra God CrK
i doubt he protected it...prob used we unlimited or that other editor(i forgot the stupid letters)...and i'm guessing you use the normal world editor.
10-08-2003, 04:44 AM#15
Zachary_Shadow
Remember that this is a TFT required map, so if you don't have TFT editor, you won't be able to open it. Get TFT :) hehe

If not...try downloading UMSWE, in the editing forum. Then you shouldn't have any problems opening it...normaly, you shouldn't either, AS long as you have TFT :)