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: #5
RE: Spellselect trigger
(11-15-2019 02:41 PM)Coruja Wrote:  Try using hardcoded LOCAL tweaks on @SpellSuccess/@Success triggers, like this:

Code:
ON=@Success
LOCAL.Duration = 60
LOCAL.EffectColor = 0481
LOCAL.CreateObject1 = i_field_ns
LOCAL.CreateObject2 = i_field_ew
LOCAL.FieldWidth = 3
LOCAL.FieldGauge = 3

Note that the script will just set these weird values and nothing more, but this is the way to use hardcoded LOCALs. You just need to set the LOCAL value (using exactly the same name) and sphere will proceed with internal functions using this value

I wanted to do something more custom but...
...I've been trying for days, but in the end I have to ask for help.
Essentially I would need that when a player types ".firefield" for example he summons around the player a 3x3 square (the player would be in the center) similar to the fire field that does no harm to the player but only to the others (including NPCs). Or if there was a way to make the firefield automatically cast on the tile where the game is located it would be fine just the same
12-08-2019 01:25 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: 3 Guest(s)