SphereCommunity
@CharClick trigger issue - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: @CharClick trigger issue (/Thread-CharClick-trigger-issue)



@CharClick trigger issue - PePs1Man - 07-26-2017 03:12 AM

Hello everyone,

I've been fooling around with the @click and @charclick triggers and seems to not work correctly.

The issue lies in @CharClick trigger when applied to a character in an event.

Code:
ON=@CharClick
//ACT    The character being clicked.
//I    The character doing the clicking.
//SRC    The character being clicked. // doesnt seem to work

If <ACT.Brain>
    Say <Act.Name> is an NPC!
Endif

This code works fine, howver, if you use <SRC.Brain> instead, this doesnt seem OK.

Using 0.56c,

PePsiMan


RE: @CharClick trigger issue - darksun84 - 07-26-2017 06:11 AM

I guess it's a Wiki error and SRC is actually the default object too (I, the character doing the clicking).
I edited the wiki entry of SRC related to @Charclick