|
|
With ItemOnObject, I want it to open up an interface with a button (which it does), but I need that button to perform an action related to the item used. How can I pass the itemID to the interface? Or, better yet, get which item was used on the object when the button is pressed.
My workflow is something like this:
User uses ItemID 29672 on an object > and interface appears asking the user to confirm > User presses confirm and an action happens on the Item.
I have it to the point of the interface appearing, but I'm not quite sure on how to check which Item was used.
EDIT: Figured it out. I used ItemOnObject to set a client variable and called it back when I wanted the action performed.
Last edited by Blazedroid; 09-16-2020 at 12:27 PM. Reason: Solved.
| « Dialogue skipping when using keys to continue | Eclipse showing an error please help » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |