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
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How Do I Get Effect To Remove After Made??
Author Message
Admin Drew
Apprentice
*

Posts: 48
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jun 2013
Reputation: 0



Post: #1
How Do I Get Effect To Remove After Made??
Ok so here's my problem.. I have a script where where you attack something you get a graphic effect that you custom make. The effect I make and add to the item appears fine when you attack something or set it for dclick but the problem is the effect it adds is permanent and never goes away. I have tried using REMOVE but doesn't seem to work.. If you could help me out I'd appreciate it. I just want my own custom effect to appear from a few seconds then disappear. Here is the ways I've tried.
//The effect works on attack but the effect never disappears
ONTRIGGER=DAMAGE
SRC.NEWITEM=XXXX //My Effect Number
SRC.ACT.P=<P>
SRC.ACT.TIMER=1
SRC.RESEND
SRC.DAMAGE=10-20
RETURN 0
///////////////////////////////////////////////////////////////////////////////
Tried it this next way also with entering my own item number for the effect but the item/number I put in for the effect doesn't ever show up right and I always get the wrong graphic instead of the number I put in.

EFFECT=3,0XXXX,6,15,1 //I put my effect number I made where the x's are and always get the wrong item showing up and not the item with the number I put in.. why? This seems like it would work if it would actually ready my item number correctly for the effect.
////////////////////////////////////////////////////////////////////////////////

//This way works for attack but the effect never disappears again.. Just tried adding remove & End and both won't remove the graphic.. tried src.remove too. What am I doing wrong? Just want my custom effect to disappear after a few secs..

ONTRIGGER=DAMAGE
SRC.NEWITEM=XXXX //My Effect Number
SRC.ACT.P=<P>
SRC.ACT.TIMER=1
SRC.RESEND
SRC.DAMAGE=10-20
REMOVE
RETURN 0
END
(This post was last modified: 07-02-2013 07:45 PM by Admin Drew.)
07-02-2013 07:44 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
How Do I Get Effect To Remove After Made?? - Admin Drew - 07-02-2013 07:44 PM

Forum Jump:


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