The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Blind effect
Author Message
Kapa
Journeyman
*

Posts: 74
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2014
Reputation: 0



Post: #1
Blind effect
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
10-31-2014 05:35 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Blind effect
10-31-2014 05:53 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes darksun84's post
Kapa
Journeyman
*

Posts: 74
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2014
Reputation: 0



Post: #3
RE: Blind effect
thx but thats a bit to difficult for me to understand Smile

SRC.SPELLEFFECT 44 ?
(This post was last modified: 11-01-2014 12:45 AM by Kapa.)
11-01-2014 12:44 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #4
RE: Blind effect
just src.effect 4 0 ( for slow black fading effect)

one thousand post !
(This post was last modified: 11-01-2014 04:18 AM by darksun84.)
11-01-2014 12:50 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 2 users Like darksun84's post
Kapa
Journeyman
*

Posts: 74
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2014
Reputation: 0



Post: #5
RE: Blind effect
[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
11-01-2014 03:26 AM
Find all posts by this user Like Post Quote this message in a reply
azmanomer
Journeyman
*

Posts: 139
Likes Given: 4
Likes Received: 18 in 16 posts
Joined: Nov 2013
Reputation: 1



Post: #6
RE: Blind effect
i tried that and target is blinded Smile
11-01-2014 04:03 AM
Find all posts by this user Like Post Quote this message in a reply
Kapa
Journeyman
*

Posts: 74
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2014
Reputation: 0



Post: #7
RE: Blind effect
Dont know why but in my case atacker gets blinded Smile
11-01-2014 06:54 AM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #8
RE: Blind effect
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
11-01-2014 07:18 AM
Find all posts by this user Like Post Quote this message in a reply
Kapa
Journeyman
*

Posts: 74
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2014
Reputation: 0



Post: #9
RE: Blind effect
thank you, one more thing how to make that effect to last longer?
(This post was last modified: 11-01-2014 07:24 AM by Kapa.)
11-01-2014 07:22 AM
Find all posts by this user Like Post Quote this message in a reply
azmanomer
Journeyman
*

Posts: 139
Likes Given: 4
Likes Received: 18 in 16 posts
Joined: Nov 2013
Reputation: 1



Post: #10
RE: Blind effect
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
11-01-2014 07:24 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)