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
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
on=@npcseechar .. broken?
Author Message
Rayvolution
Journeyman
*

Posts: 135
Likes Given: 0
Likes Received: 2 in 2 posts
Joined: Jul 2012
Reputation: 1

Aetharia

Post: #1
on=@npcseechar .. broken?
Seems I should of been using @NPCLookAtChar. Disregard! Big Grin The link I posted misdirected me.

I'm trying to make what should be a super-simple script that checks a character's karma, and attacks.

My grand plan was to remove the standard guard system, and just have guards wandering town who would attack baddies on sight, but I'm stuck on the most simplest of steps, getting this test trigger to work before I write the rest of the script:

[EVENTS e_npcs]
on=@npcseechar
SAY OMG DIE!
ATTACK

It refuses to fire, and I know the NPC has the event attached to him, because I can change it to SeeNewPlayer and he attacks me.

I've turned on MonsterFight and EF_New_Triggers based on this thread:
http://forum.spherecommunity.net/showthr...p?tid=1200

No luck what so ever. I'm totally stumped/confused. Since thats my generic NPC event (using it for testing) technically every single NPC in the entire area should be trying to murder each other right now. ;P

[Image: 4_Logo.png]
An MMORPG based on the Ultima Online engine.
Completely Custom Map, GUI, AI, Combat, Skills, Crafts, Art, Music and so much more.
http://aetharia.com - Home of Ambition!
(This post was last modified: 07-31-2012 01:05 PM by Rayvolution.)
07-31-2012 11:50 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
on=@npcseechar .. broken? - Rayvolution - 07-31-2012 11:50 AM

Forum Jump:


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