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
SeeNewPlayer
Author Message
sco
Apprentice
*

Posts: 38
Likes Given: 0
Likes Received: 3 in 1 posts
Joined: Mar 2012
Reputation: 7

Elantharil

Post: #9
RE: SeeNewPlayer
You should do that with on=@NPCLookAtChar:

Code:
on=@NPCLookAtChar
if (<src.is_friend_of <uid>>)
   return 1
endif


Ofc you need to build a function "is_friend_of" checking if the player your mob looks at is a friend. The Mob won't look at them then and never attack.
03-28-2012 12:09 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
SeeNewPlayer - Draff - 03-22-2012, 05:31 AM
RE: SeeNewPlayer - Valios - 03-22-2012, 08:28 AM
RE: SeeNewPlayer - Khaos - 03-22-2012, 10:02 AM
RE: SeeNewPlayer - Shaklaban - 03-22-2012, 02:10 PM
RE: SeeNewPlayer - Khaos - 03-24-2012, 07:43 AM
RE: SeeNewPlayer - Draff - 03-25-2012, 02:56 AM
RE: SeeNewPlayer - Khaos - 03-25-2012, 05:05 AM
RE: SeeNewPlayer - Draff - 03-27-2012, 09:56 PM
RE: SeeNewPlayer - sco - 03-28-2012 12:09 AM
RE: SeeNewPlayer - Draff - 03-28-2012, 04:55 AM
RE: SeeNewPlayer - Shaklaban - 03-28-2012, 05:24 AM
RE: SeeNewPlayer - Draff - 03-28-2012, 05:36 AM

Forum Jump:


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