Could anyoen point me in the right direction to work out how click a verb, prompt the usr to click on a mob and return the mob as a the target?
Thanks in advance!
- GunRunner
Copyright © 2024 BYOND Software.
All rights reserved.
Coincidentally I made a post on a simple selection system just recently. You should be able to adapt it to suit: [link]
The gist of that system is that your verb sets up a selection and an action to take when it's completed, and then another proc (of your choice) is called when the player makes their selection. It looks something like this:
Verb: Hey client, I need a target, so I'll tell your player to click one. When (s)he does, call this proc: ____.
Client: Proc, this player just clicked this target, so you can take it from here.
Lummox JR