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
NPC Flags
Author Message
Kanibal
Master
**

Posts: 255
Likes Given: 6
Likes Received: 30 in 28 posts
Joined: Jun 2012
Reputation: 0



Post: #2
RE: NPC Flags
https://wiki.spherecommunity.net/index.p...Characters

And if you open sphere_defs.scp you will see there something like this
Code:
[DEFNAME stat_flags]
// apply to chars
statf_invul             000000001   // invulnerability
statf_dead              000000002
statf_freeze            000000004   // paralyzed. (spell)
statf_invisible         000000008   // invisible (spell).
statf_freezecast        000000010   // can't move while casting spells (used by MAGICF_FREEZEONCAST magic flag)
statf_war               000000020   // war mode on ?
statf_reactive          000000040   // have reactive armor on.
statf_poisoned          000000080   // poison level is in the poison object
statf_nightsight        000000100   // all a light to you
statf_reflection        000000200   // magic reflect on.
statf_polymorph         000000400   // we have polymorphed to another form.
statf_incognito         000000800   // dont show skill titles
statf_spiritspeak       000001000   // i can hear ghosts clearly.
statf_insubstantial     000002000   // ghost has not manifest. or gm hidden
statf_emoteaction       000004000   // the creature will emote its actions to it's owners.
statf_commcrystal       000008000   // the char can speak to a comm crystal in his bag
statf_hasshield         000010000   // using a shield
statf_archercanmove     000020000   // can move with archery
statf_stone             000040000   // turned to stone.
statf_hovering          000080000   // hovering (gargoyle flight)
statf_fly               000100000   // flying or running ? (anim)
statf_hallucinating     000400000   // eat 'shrooms or bad food.
statf_hidden            000800000   // hidden (non-magical)
statf_indoors           001000000   // we are covered from the rain.
statf_criminal          002000000   // the guards will attack me. (someone has called guards)
statf_conjured          004000000   // this creature is conjured and will expire. (leave no corpse or loot)
statf_pet               008000000   // i am a pet/hirling. check for my owner memory.
statf_spawned           010000000   // i am spawned by a spawn item.
statf_saveparity        020000000   // has this char been saved or not ?
statf_ridden            040000000   // this is the horse. (don't display me) i am being ridden
statf_onhorse           080000000   // mounted on horseback.

Grandmaster Localhost Admin
(This post was last modified: 03-08-2021 09:44 PM by Kanibal.)
03-08-2021 09:41 PM
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
NPC Flags - sgt912 - 03-08-2021, 08:31 PM
RE: NPC Flags - Kanibal - 03-08-2021 09:41 PM
RE: NPC Flags - sgt912 - 03-08-2021, 09:49 PM

Forum Jump:


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