SphereServer BugTracker - SphereServer
View Issue Details
0002241SphereServernew feature requestpublic11-11-13 21:5215-02-14 23:56
DavideRei 
Ben 
normalminorN/A
resolvedfixed 
 
0.56c Nightly 
Automated (specify build number)
DiagonalWalkCheck, Size_Optimise, NPCAct_Triggers
Buffs, DyeType
1669
0002241: TARGETCLOSE
A function to close the target cursor.
Or set 'last' and 'self' functions to automatically close the target cursor.

Example:
I need to force the client to target another character.
The target is given by an item.
I created a function and use ACT to set the target UID and last(Forces the client to target the object referenced by ACT).

src.act=<link.uid>
src.last

It works but the target cursor remains and the player can select another target(with 'targetted item is gone?'). The same with src.targ=<link.uid>.
I don't know if this is a bug, but a function to close the target would be useful.
(By the way, use of last function without a target cursor produce a sphere error "undefined keyword 'last'". Is there a way to check if a client has a target cursor?)

Thank you.
No tags attached.
Issue History
11-11-13 21:52DavideReiNew Issue
15-02-14 23:56BenNote Added: 0001956
15-02-14 23:56BenStatusnew => resolved
15-02-14 23:56BenFixed in Version => 0.56c Nightly
15-02-14 23:56BenResolutionopen => fixed
15-02-14 23:56BenAssigned To => Ben

Notes
(0001956)
Ben   
15-02-14 23:56   
last and self now automatically closes the target