SphereCommunity
DCLICK when paralized - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: DCLICK when paralized (/Thread-DCLICK-when-paralized)



DCLICK when paralized - WRWR - 05-11-2012 03:12 AM

How to make possible DCLICK on item when im paralized?

Code:
ON=@DCLICK
IF (<SRC.FLAGS>&STATF_freeze)
TARGETF myfunction
ENDIF

get You can't reach it.


RE: DCLICK when paralized - Shaklaban - 05-11-2012 03:46 AM

It is not possible, you need to create your own paralysis. You can use tag.nomovetill or speedmode to prevent character from moving, and @skillstart @gethit hit @hittry etc. for the actions you prefer to prevent player from doing when paralayzed.


RE: DCLICK when paralized - WRWR - 05-11-2012 04:02 AM

Heh, really need add to sphere new trigger @BEFOREDCLICK Smile


RE: DCLICK when paralized - Crusader - 05-11-2012 04:49 AM

maybe u can try:
Code:
ON=@DCLICK
IF (<SRC.FLAGS>&STATF_freeze)
SRC.FLAGS -= &STATF_freeze
TARGETF myfunction
SRC.FLAGS += &STATF_freeze
ENDIF

I used -= and += i know this is wrong, but seems i can't do the right symbol right now... O_o' with ctrl + alt + 1 + 2 + 6 from numeric pad.... -> ♠ O_o'


RE: DCLICK when paralized - Shaklaban - 05-11-2012 04:59 AM

i always c/p that symbol lol


RE: DCLICK when paralized - WRWR - 05-11-2012 05:33 AM

@DCLICK just not firing if you paralyzed


RE: DCLICK when paralized - Q23A - 05-11-2012 07:39 AM

ON=@DCLICK
IF (<SRC.FLAGS>&4)
TARGETF myfunction
ENDIF

Try this.


RE: DCLICK when paralized - WRWR - 05-11-2012 09:38 AM

@DCLICK not firing when you paralyzed!!!