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-nmm6 (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-nmm6 (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-nmm6 (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
NPCRrestock doesnt fire
Author Message
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #3
RE: NPCRrestock doesnt fire
so, is it possible to add a new item to the NPC Stock when restocking?

example
Code:
ON=@Whatever
//<UID> = NPC
EVENTS +e_newitemforselling
RESTOCK

[EVENTs e_newitemforselling]

ON=@NpcRestock
IF <BRAIN> = 6
SELL = i_whatever,{500,1000}
EVENTS -e_newitemforselling
ENDIF

I suppose not, because its a display selling windows, should i modify that?

SELL=
Doesnt accept LOCAL's OR Tags??????

if tag0.bardiche = i_bardiche // for example
i cannot set = <TAG0.BARDICHE>,1

Is there any way i could do that?
(This post was last modified: 08-26-2014 07:45 AM by kn4tseb.)
08-26-2014 06:49 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
NPCRrestock doesnt fire - kn4tseb - 08-26-2014, 06:17 AM
RE: NPCRrestock doesnt fire - Extreme - 08-26-2014, 06:33 AM
RE: NPCRrestock doesnt fire - Extreme - 09-01-2014, 11:52 PM
RE: NPCRrestock doesnt fire - kn4tseb - 08-26-2014 06:49 AM
RE: NPCRrestock doesnt fire - kn4tseb - 08-26-2014, 08:24 AM
RE: NPCRrestock doesnt fire - Extreme - 08-26-2014, 08:46 AM
RE: NPCRrestock doesnt fire - kn4tseb - 08-26-2014, 08:48 AM
RE: NPCRrestock doesnt fire - Extreme - 08-26-2014, 09:29 AM
RE: NPCRrestock doesnt fire - kn4tseb - 08-26-2014, 11:39 AM
RE: NPCRrestock doesnt fire - Extreme - 08-26-2014, 12:01 PM
RE: NPCRrestock doesnt fire - kn4tseb - 08-26-2014, 12:11 PM
RE: NPCRrestock doesnt fire - kn4tseb - 08-26-2014, 04:46 PM
RE: NPCRrestock doesnt fire - XuN - 08-26-2014, 08:09 PM
RE: NPCRrestock doesnt fire - kn4tseb - 08-27-2014, 01:21 AM
RE: NPCRrestock doesnt fire - kn4tseb - 08-28-2014, 04:37 AM
RE: NPCRrestock doesnt fire - kn4tseb - 08-30-2014, 02:56 AM
RE: NPCRrestock doesnt fire - kn4tseb - 08-31-2014, 08:02 AM
RE: NPCRrestock doesnt fire - Ben - 08-31-2014, 10:40 PM
RE: NPCRrestock doesnt fire - kn4tseb - 09-01-2014, 04:29 AM
RE: NPCRrestock doesnt fire - Extreme - 09-01-2014, 06:14 AM
RE: NPCRrestock doesnt fire - kn4tseb - 09-01-2014, 01:05 PM
RE: NPCRrestock doesnt fire - Extreme - 09-01-2014, 03:01 PM
RE: NPCRrestock doesnt fire - kn4tseb - 09-01-2014, 03:26 PM
RE: NPCRrestock doesnt fire - kn4tseb - 09-02-2014, 02:13 AM

Forum Jump:


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