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
[Solved] Help with "Effect x, item, x, x, x, x"
Author Message
Chris_T
Apprentice
*

Posts: 10
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Nov 2012
Reputation: 0



Post: #1
[Solved] Help with "Effect x, item, x, x, x, x"
Hi, i'm very new and just started playing around with Sphere out of curiosity. (New to any kind of scriptingBlush)

I have been reading the Wiki and came across "EFFECT type, item_id, speed, loop, explode, colour(hue), rendermode"
http://wiki.sphere.torfo.org/index.php/EFFECT

My question is can an effect like this be added to an item?
(I have only had success with it on NPCs and players.)
For example, an item a player steps on creates a new item (I_fire). When this new i_fire is created I would of liked it to play a fire column effect.

ON=@CREATE
EFFECT type, item_id, speed, loop, explode, colour(hue), rendermode


I'm aware I could just add 2 items, one being the i_fire_column. But I was wishing to get that "rendermode" setting.

So, am I just gonna have to use to create a new item?
Can that "render" be added to an item I create?
Or can the EFFECT be added and displayed on items I create on the floor?


-Thanks for reading
(This post was last modified: 12-07-2012 11:57 PM by Chris_T.)
11-26-2012 10:40 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
[Solved] Help with "Effect x, item, x, x, x, x" - Chris_T - 11-26-2012 10:40 AM

Forum Jump:


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