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
Spellselect trigger
Author Message
Claus
Apprentice
*

Posts: 21
Likes Given: 2
Likes Received: 0 in 0 posts
Joined: Jan 2014
Reputation: 0



Post: #3
RE: Spellselect trigger
(11-04-2019 08:56 AM)Coruja Wrote:  @SpellSelect is only triggered when the spell got selected, to fire it in another context you must use proper trigger:

char @SpellSelect (spell @Select): fired when spell got selected
char @SpellCast (spell @Start): fired when spell is about to be casted
char @SpellSuccess (spell @Success): fired when spell cast suceed
char @SpellFail (spell @Fail): fired when spell cast fail
char/item @SpellEffect (spell @Effect): fired on char/item which the spell effect is being applied

I wanted to use it at the end of the casting time to signal the player that the spell was ready to be launched using ARGN3 = 03; but since the 03 is valid for both the beginning and the end the "cast ready" message started 2 times. I solved using a timer item set to 0.2 tenths before the end of the actual cast.

without opening another thread, can I change the effect of the fire field to make a way that instead of a firewall, give me a real 3x3 tile size field?
11-11-2019 04:05 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Spellselect trigger - Claus - 11-02-2019, 02:38 AM
RE: Spellselect trigger - Coruja - 11-04-2019, 08:56 AM
RE: Spellselect trigger - Claus - 11-11-2019 04:05 AM
RE: Spellselect trigger - Coruja - 11-15-2019, 02:41 PM
RE: Spellselect trigger - Claus - 12-08-2019, 01:25 AM

Forum Jump:


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