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
EVENTS TEVENTS on items
Author Message
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #5
RE: EVENTS TEVENTS on items
[TYPEDEF YOUR_ITEM_EVENT_NAME]
But I suggest use TAG...

[TYPEDEF T_EQUIPITEM]
ON=@CREATE
TAG0.UNIDENTIFIED 1

In your player event, @itemequiptest, @itemequip, @itemclick
Check if it has the TAG0.UNIDENTIFIED, if yes, do what you want, else continue...

On ItemID skill, when success, check if the item has the TAG and remove it.

(09-21-2014 07:39 AM)Ben Wrote:  Events for items are TYPEDEFS... I don't want to sound like a dick, but you could have saved yourself ALOT of time by just trying it.

Yeah.. Not only him, but the other guys always do that... ask before test...
In my case, If I come ask something, you know I tried everything else before.

They even look the wiki!

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
(This post was last modified: 09-21-2014 07:54 AM by Extreme.)
09-21-2014 07:43 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
EVENTS TEVENTS on items - kn4tseb - 09-21-2014, 04:51 AM
RE: EVENTS TEVENTS on items - Extreme - 09-21-2014, 05:37 AM
RE: EVENTS TEVENTS on items - kn4tseb - 09-21-2014, 07:33 AM
RE: EVENTS TEVENTS on items - Ben - 09-21-2014, 07:39 AM
RE: EVENTS TEVENTS on items - Extreme - 09-21-2014 07:43 AM
RE: EVENTS TEVENTS on items - kn4tseb - 09-21-2014, 08:05 AM
RE: EVENTS TEVENTS on items - kn4tseb - 09-21-2014, 09:23 AM
RE: EVENTS TEVENTS on items - Extreme - 09-21-2014, 09:27 AM
RE: EVENTS TEVENTS on items - kn4tseb - 09-21-2014, 10:13 AM
RE: EVENTS TEVENTS on items - Extreme - 09-21-2014, 11:36 AM

Forum Jump:


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