[DiscordArchive] What method is used to conditionally override right clicks like in Hour of Twilight's scrapper?
[DiscordArchive] What method is used to conditionally override right clicks like in Hour of Twilight's scrapper?
Archived author: whatwere • Posted: 2023-02-17T22:46:36.797000+00:00
Original source
What method is used to conditionally override right clicks like in Hour of Twilight's scrapper?
Archived author: tester • Posted: 2023-02-17T22:47:04.384000+00:00
Original source
a frame with onClick callback events and a registerClick property
Archived author: tester • Posted: 2023-02-17T22:47:15.134000+00:00
Original source
and an enable mouse property on the frame
Archived author: tester • Posted: 2023-02-17T22:47:33.569000+00:00
Original source
you can also just open the frameXML and read the frame to learn this
Archived author: whatwere • Posted: 2023-02-17T22:47:37.965000+00:00
Original source
I mean in the inventory, not the scrapper itself
Archived author: whatwere • Posted: 2023-02-17T22:47:48.395000+00:00
Original source
Where you rightclick gear and it takes the data from it without equipping it.
Archived author: tester • Posted: 2023-02-17T22:47:48.788000+00:00
Original source
point stands. the bag is a frame
Archived author: tester • Posted: 2023-02-17T22:48:10.515000+00:00
Original source
each item is a frame
Archived author: tester • Posted: 2023-02-17T22:50:08.779000+00:00
Original source
also serverside you could hook the onEquip, send a message to the client to see if the scrapper is open, and ignore the equip and put it in the frame clientside
Archived author: tester • Posted: 2023-02-17T22:50:16.112000+00:00
Original source
dont know how they do it, just as another option