I need those 2 events/conditions, no matter how they are managed, for item is used i can only imagine a solution for instant effects, not items effecting a target.
I tried a lot of combinations but i cant get any trigger to work on item being dropped...
Use the event "Unit uses ability". Then on ability command select "show commands". Your inventory should have all the Commands - Default Button fields finished in them. One of those is Drop, so on the unit uses ability use that command, I'm not sure which stage to use but it worked perfectly when I put it on complete.
The problem is neither it is in command nor in abilities, no matter if you search for using ability or issued order as event...theres just nothing.
And when you drop an item it is not entering an area since it was already on creation in the area and you cant move it outwards since nothing triggers it...
Do you have the Default Buttons setup for the Ability? All the stuff should be tied up in the Data editor under "Commands - Default Button" if those aren't tied up you won't see the inventory ability in the trigger editor.
Edit Also make sure the Target Type on the event is set to (ALL).
So turn off "Combine Structure Values" and edit the default buttons. Because as you can see by your last screenshot you have no default buttons set, they are blank. If you don't have those default button values set they won't show up in the editor.
Pawning seems like it's done to the unit you drop the item on. So you may have to run the event from the other unit, other unit being the unit that has the pawn ability, and not your actual character.
For the use item condition I wonder if you could use Triggering Progress Unit...
The problem is no event gets when someone is selling, at least everythign i tried... ability, issued order, dies, etc etc...
The only one working is unit is being removed but you cant get the unit or unit type anymore so i cant use it to check if its an item and by which owner...
I need those 2 events/conditions, no matter how they are managed, for item is used i can only imagine a solution for instant effects, not items effecting a target.
I tried a lot of combinations but i cant get any trigger to work on item being dropped...
Anyone can help me please?
@BeLugh: Go
Use the event "Unit uses ability". Then on ability command select "show commands". Your inventory should have all the Commands - Default Button fields finished in them. One of those is Drop, so on the unit uses ability use that command, I'm not sure which stage to use but it worked perfectly when I put it on complete.
@Mehoron: Go
The problem is neither it is in command nor in abilities, no matter if you search for using ability or issued order as event...theres just nothing.
And when you drop an item it is not entering an area since it was already on creation in the area and you cant move it outwards since nothing triggers it...
@BeLugh: Go
Do you have the Default Buttons setup for the Ability? All the stuff should be tied up in the Data editor under "Commands - Default Button" if those aren't tied up you won't see the inventory ability in the trigger editor.
Edit Also make sure the Target Type on the event is set to (ALL).
@Mehoron: Go
Its not there, it is set to show commands and any ability all the time for me, for inventory i just changed the range and added inventory container
@BeLugh: Go
So turn off "Combine Structure Values" and edit the default buttons. Because as you can see by your last screenshot you have no default buttons set, they are blank. If you don't have those default button values set they won't show up in the editor.
@Mehoron: Go
Thanks you!!!
Its working.... thats aweful i was searchign for that for more than 1 week already and you are the first one who could explain it to me, thanks man!
@BeLugh: Go
I'm glad you got it working! :)
@Mehoron: Go For using the item, same as for dropitem you can not find out which item is used or dropped... but i need it at least for used
Got another question, how do i get the event for pawning? i tried it with adding buttons but it does not work =/
@BeLugh: Go
Pawning seems like it's done to the unit you drop the item on. So you may have to run the event from the other unit, other unit being the unit that has the pawn ability, and not your actual character.
For the use item condition I wonder if you could use Triggering Progress Unit...
The problem is no event gets when someone is selling, at least everythign i tried... ability, issued order, dies, etc etc...
The only one working is unit is being removed but you cant get the unit or unit type anymore so i cant use it to check if its an item and by which owner...
@BeLugh: Go
i really need this one i have to stop my project for that because its the only thing i need to go on at the moment...
How to get a pawned item storing into variable, same for used item??? Please...anyone?
Target of ability (Pawn) maybe?
@Eldrazor: Go
pawn cant be triggered as event with issued order or ability
@BeLugh: Go
Have you tried something kinda hacky, such as. Player property changes AND an item is dropped?