I know, but this is the easiest and he said he wanted 5 classes, so he still had 1 inventory space for pots/misc items, so this is the best solution for his problemLimited technique.. I bet you could make a much better system that could allow like 20 item classes you can only carry one of.. using the game cache
But if you only have shields/weapons/armor etc then the built-in classes would do the trick.
Could you Please Write down the other Way too..?
Could you Please Write down the other Way too..?
Yeah you are right...but while i was testing the trigger i found a bug...the trigger can not pick up 2 of the same kind...but if you drop the one you already have then you can not pick up again the same type....:/...i tried to fix it but i only manage to get it when you drop it you will be able to pick up again more than 1...:/Why?
There is no reason for that if you only have 6 inventory slots anyway, you've got 7 Item Classes, so you can only wear 1 item per class, that means you can carry 7 different items.
Since you only use 6 of those item classes, there is no need for more difficult triggers as far as I know, but if you've got a good reason, I'll make one...
Yeah... I thought you could figure that out yourselfYeah you are right...but while i was testing the trigger i found a bug...the trigger can not pick up 2 of the same kind...but if you drop the one you already have then you can not pick up again the same type....:/...i tried to fix it but i only manage to get it when you drop it you will be able to pick up again more than 1...:/
Hi, this trigger is awesome, but i found a bug,, i did both picking up and dropping item triggers, but after trying to pick up the weapon and them shield items i was soon able to hold more than 1 of each item
His,, i went to download your map, but the details said it's protected..
thanks very much
my game has 4 heroes and i already got my own trigger disabling each unit from getting the other classes items.. if you want to use this, you use the item level instead of class type, simply make all items you want one class unit (warrior for example) to level 1, and then level 2 (healer for example) and so on,, level 0 so all classes can equip that certain item
Here's the trigger, it certainly makes hero class restrictions a whole lot easier...
for more than 2 classes simply make a new trigger with everything the same, but change the level of the item in condition to 3, 4 and so on depending on how many heroes your game has
- Warrior restrictions1
- Events
- Unit - Warrior 0002 <gen> Acquires an item
- Conditions
- (Item level of (Item being manipulated)) Equal to 2
- Actions
- Hero - Drop (Item being manipulated) from Warrior 0002 <gen>
- Game - Display to (All players) for 10.00 seconds the text: Sorry, you can't equ...
Nice one but what about the helm thing i mean the class its okay a unit which is Rogue cant equip an item from Warrior but then a warrior can equip 2 of the same type (EX. 2 Helms...) and since i'm making a map with attachments.
Ohh now i Get it...is Nice...+rep..to Kratos and DumbDumb360...BTW Dumb i played your Map is nice..Good Luck..if you ever need help for more advanced Terrain tell me..
I found a working trigger, don't give me credit for it. this one works wonders. however miscellaneous class type items don't seem to work, so you will have to make all potion like items miscellaneous type class....here's the problem solving trigger!!
Remember don't give me credit for it
- One Weapon
- Events
- Unit - A unit Acquires an item
- Conditions
- Actions
- For each (Integer A) from 1 to 6, do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Item-class of (Item being manipulated)) Equal to (Item-class of (Item carried by (Hero manipulating item) in slot (Integer A)))
- (Item being manipulated) Not equal to (Item carried by (Hero manipulating item) in slot (Integer A))
- (Item-class of (Item being manipulated)) Equal to Permanent
- Then - Actions
- Quest - Display to (All players) the New Item Received message: You already have a ...
- Hero - Drop (Item being manipulated) from (Hero manipulating item)
- Else - Actions