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
3 flags question
Author Message
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #2
RE: 3 flags question
What is your definition of "pk"?

You can see if someone is a permanent criminal (i.e. a criminal to everyone) by checking flags for "statf_criminal"... but it is also possible to be a criminal only to your victim (or a witness) and not everyone. That kind of criminal information is stored in a memory item on the victim (or the witness) and can be identified by a memory flag of type "memory_sawcrime".

I think you can determine a character alignment (order, neutral, or chaos) using the ALIGN function... for example:

Code:
if <SRC.ALIGN>==1
  SRC.SAY "I am aligned with Chaos!"
endif

...although that might be a property of the guildstone, not the character... I can't recall.

If it is a property of the guild or town stone... you can find the stone and check it by looking for a "memory_guild" and/or "memory_town" item on the character and following the LINK.
(This post was last modified: 08-31-2012 04:59 AM by RanXerox.)
08-31-2012 04:54 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
3 flags question - daedelus - 08-31-2012, 04:15 AM
RE: 3 flags question - RanXerox - 08-31-2012 04:54 AM
RE: 3 flags question - daedelus - 08-31-2012, 05:00 AM
RE: 3 flags question - daedelus - 09-01-2012, 03:50 AM
RE: 3 flags question - RanXerox - 09-01-2012, 01:50 PM
RE: 3 flags question - daedelus - 09-03-2012, 09:50 PM
RE: 3 flags question - RanXerox - 09-04-2012, 03:18 AM
RE: 3 flags question - Extreme - 09-04-2012, 04:53 AM
RE: 3 flags question - Mordaunt - 09-05-2012, 01:32 AM
RE: 3 flags question - daedelus - 09-05-2012, 10:08 PM
RE: 3 flags question - Mordaunt - 09-06-2012, 07:31 AM
RE: 3 flags question - daedelus - 09-13-2012, 06:02 AM
RE: 3 flags question - RanXerox - 09-06-2012, 09:45 AM
RE: 3 flags question - Mordaunt - 09-08-2012, 01:32 AM
RE: 3 flags question - Mordaunt - 09-13-2012, 08:48 AM

Forum Jump:


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