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:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom AI Events
Author Message
Skul
Master
**

Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9



Post: #12
RE: Custom AI Events
timerf is ok Extreme, but what if a player picks up the eggs (for cooking purposes?), it is then removed, should use TIMER and attr_decay to simulate 'server decay'. Just a heads up.

also, here's a simple code to add to all npcs and players to 'crush the eggs' when stepped on
Code:
[events e_eggshells]
on=@itemstep
if (<act.baseid>==i_eggs_fresh)
  emote crush <act.name>
  act.sound 01c3 //skeletal crush sound
  act.dispid=i_eggshells
  act.update
endif

"I ask a question to the answer I already know."

Marchadium :: http://www.marchadium.ca/ :: Join us!
(This post was last modified: 08-22-2012 09:09 AM by Skul.)
08-22-2012 09:06 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Custom AI Events - Extreme - 08-20-2012, 01:36 PM
RE: Custom AI Events - htid4life - 08-20-2012, 08:23 PM
RE: Custom AI Events - Extreme - 08-21-2012, 12:34 AM
RE: Custom AI Events - Skul - 08-21-2012, 01:58 AM
RE: Custom AI Events - Extreme - 08-21-2012, 02:14 AM
RE: Custom AI Events - htid4life - 08-21-2012, 02:27 AM
RE: Custom AI Events - Extreme - 08-21-2012, 07:21 AM
RE: Custom AI Events - Anarch Cassius - 08-21-2012, 08:16 AM
RE: Custom AI Events - admin phoenix - 08-21-2012, 03:30 PM
RE: Custom AI Events - Skul - 08-22-2012, 06:30 AM
RE: Custom AI Events - Extreme - 08-22-2012, 06:49 AM
RE: Custom AI Events - Skul - 08-22-2012 09:06 AM
RE: Custom AI Events - Extreme - 08-22-2012, 10:43 AM
RE: Custom AI Events - htid4life - 08-23-2012, 08:50 AM
RE: Custom AI Events - RanXerox - 08-23-2012, 10:25 AM
RE: Custom AI Events - Pollo - 11-05-2012, 11:33 PM

Forum Jump:


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