SphereCommunity
Blind effect - Printable Version

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

Pages: 1 2


Blind effect - Kapa - 10-31-2014 05:35 PM

Hi,
Is there an effect when the players monitor gets black for few secs? like when you die?

[EVENTS e_dust]
on=@hit
if 0<SRC.ISEVENT.e_anti_dust>
SRC.SAY He is imune to dust!
return 0
endif
// ?? SRC.SPELLEFFECT
SRC.HITS=(<SRC.HITS>+-50)
SRC.SAY Argh, Dust got in my eays!
endif


RE: Blind effect - darksun84 - 10-31-2014 05:53 PM

http://wiki.sphere.torfo.org/index.php/EFFECT

The 4th one


RE: Blind effect - Kapa - 11-01-2014 12:44 AM

thx but thats a bit to difficult for me to understand Smile

SRC.SPELLEFFECT 44 ?


RE: Blind effect - darksun84 - 11-01-2014 12:50 AM

just src.effect 4 0 ( for slow black fading effect)

one thousand post !


RE: Blind effect - Kapa - 11-01-2014 03:26 AM

[EVENTS e_dust]
If use this player gets blinded by himself not the target

on=@hit
if 0<SRC.ISEVENT.e_anti_dust>
SRC.SAY He is imune to dust!
return 0
endif
src.effect 4 0
SRC.HITS=(<SRC.HITS>+-50)
SRC.SAY Argh, Dust got in my eays!
endif


RE: Blind effect - azmanomer - 11-01-2014 04:03 AM

i tried that and target is blinded Smile


RE: Blind effect - Kapa - 11-01-2014 06:54 AM

Dont know why but in my case atacker gets blinded Smile


RE: Blind effect - Coruja - 11-01-2014 07:18 AM

the effect must be called on the target instead the attacker

supposing that you have this scenario:
I / SRC = attacker
ARGO = target

you must use ARGO.EFFECT instead EFFECT or SRC.EFFECT


RE: Blind effect - Kapa - 11-01-2014 07:22 AM

thank you, one more thing how to make that effect to last longer?


RE: Blind effect - azmanomer - 11-01-2014 07:24 AM

but for @hit trigger src is target argo is weapon and I is The character doing the hitting. so effect called on the target already