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
NPCs in a Guild? *updated*
Author Message
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #8
RE: NPCs in a Guild? *updated*
im trying to accomplish 2 things...
#1 have summoned or spawned NPCs belong to a real guild and guildstone
#2 let players be able to add a purchased NPC to their personal guild


problem #1
if i could get the memory item to stop dissapearing when the npc is created... itll work (hopefully)



problem #2
i though when the player dclicks the icon to summon the npc, the dclick trigger could create the memory item...
OR
maybe a tool for players to target a pet npc to add them to their guild.... but it WONT change his MEMORYFINDTYPE.0400.LINK number =/

Code:
[7939]
ID=0e2d
NAME=NPC Guild Recruitment Tool
COLOR=901
TYPE=13
BUYVALUE=14000-16000
SELLVALUE=7000-8000
WEIGHT=3

ONTRIGGER=TARGON_CHAR
IF (<SRC.TARG.MEMORYFINDTYPE.0400.LINK>=0) && (<SRC.TARG.BODY>=0190) && (<SRC.TARG.FLAGS>&08000000)
SRC.TARG.MEMORYFINDTYPE.0400.LINK=<SRC.MEMORYFINDTYPE.0400.LINK>
SRC.SYSMESSAGE=<SRC.TARG.NAME> is now in <SRC.MEMORYFINDTYPE.0400.NAME>!
RETURN 1
ELSE
SRC.SYSMESSAGE=That is not your Soldier or they are already in a guild!
RETURN 1
ENDIF

CATEGORY=DRAGONS OF TIME ITEMS
SUBSECTION=TEST
DESCRIPTION=NPC Guild Recruitment Tool



if i could just get the memory item to stop disappearing i could solve one of the problems...

Dragons of Time 2000-2020
http://dragonsoftime.com
11-29-2013 10:10 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
NPCs in a Guild? *updated* - x77x - 11-27-2013, 05:50 AM
RE: NPCs in a Guild? *updated* - x77x - 11-28-2013, 02:44 PM
RE: NPCs in a Guild? *updated* - Khaos - 11-28-2013, 04:22 PM
RE: NPCs in a Guild? *updated* - x77x - 11-28-2013, 10:03 PM
RE: NPCs in a Guild? *updated* - x77x - 11-29-2013, 08:40 AM
RE: NPCs in a Guild? *updated* - x77x - 11-29-2013 10:10 AM
RE: NPCs in a Guild? *updated* - x77x - 11-29-2013, 02:38 PM
RE: NPCs in a Guild? *updated* - x77x - 11-30-2013, 06:56 AM
RE: NPCs in a Guild? *updated* - Khaos - 11-30-2013, 10:05 AM
RE: NPCs in a Guild? *updated* - x77x - 11-30-2013, 01:59 PM
RE: NPCs in a Guild? *updated* - Khaos - 11-30-2013, 02:55 PM
RE: NPCs in a Guild? *updated* - x77x - 11-30-2013, 03:06 PM
RE: NPCs in a Guild? *updated* - XuN - 11-30-2013, 03:13 PM
RE: NPCs in a Guild? *updated* - Khaos - 11-30-2013, 03:31 PM
RE: NPCs in a Guild? *updated* - x77x - 11-30-2013, 10:16 PM

Forum Jump:


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