I'm sorry for the missunderstanding here. English is not my native language so that can happen:
Actually I was talking about loot. My monster do have different Loot-Sets (?). The thing is I don't want any ninjaing (as in the first to grab the item gets it) but I also don't love the Idea of restricting loot via triggers. So ideally there would be a way to use the data editor to restrict loot to certain players...I hope I have made myself clear now. :-)
This should actually concern pretty much everyone making RPG's...
Add a trigger that says to make the item for the triggering player that killed the last unit, make the item = to their player, then make a trigger that only allows a player to pick up their items.
Ie. Player on gains item
item not equal to owner player 1
drop/remove item from player inventory
display pick up error
Ok, I solved this and it was actually very simple. I thought I'd share because pretty much any RPG with items could use this. (I'm sorry about any misstranslations, the editor I'm using is german)
So I was trying to restrict loot to the killing player, all via data editor.
To do this you just have to follow a few steps:
First of all go to Loot and set Loot-Owner to Target. You have to do this for every item, or just the ones you want to restrict. I can think of for example potions, that wouldn't have to be restricted.
Then go to your inventory ability and set Ability - Targetfilter to allow Player only. This enables your hero to pick up only items that are owned by his player.
Lastly under units make your items invulnerable - this I think explains itself.
Greetings!
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Is there a way to restrict dropped items to say the owner of the killing unit via data editor?
@Obatztrara: Go
Bump! I'm thankful for any advice concerning this...and I'm sure my threadcounter is as well... ;-)
Are you only looking to do this via data editor?
Yes. I know it can be done - because I'm doing it currently - via triggers but I'm really not too happy with that...
@Obatztrara: Go
how do you mean restrict dropped items?
you can use the loot functionality (Data Editor) to create itemdrops from mobs,
or are you talking about item drops when a player dies?
@Helral: Go
I'm sorry for the missunderstanding here. English is not my native language so that can happen:
Actually I was talking about loot. My monster do have different Loot-Sets (?). The thing is I don't want any ninjaing (as in the first to grab the item gets it) but I also don't love the Idea of restricting loot via triggers. So ideally there would be a way to use the data editor to restrict loot to certain players...I hope I have made myself clear now. :-)
This should actually concern pretty much everyone making RPG's...
Add a trigger that says to make the item for the triggering player that killed the last unit, make the item = to their player, then make a trigger that only allows a player to pick up their items.
Ie. Player on gains item item not equal to owner player 1 drop/remove item from player inventory display pick up error
This - while I'm sure it'll work - is exactly what I would like to avoid. Seriously is this so confusing? =(
Ok, I solved this and it was actually very simple. I thought I'd share because pretty much any RPG with items could use this. (I'm sorry about any misstranslations, the editor I'm using is german)
So I was trying to restrict loot to the killing player, all via data editor.
To do this you just have to follow a few steps:
Greetings!