NPC Scripting Error - is it just me?
I get this when ever I try to use my scripting. This also crashes the zonent.exe file and boots my characters in the zone to character select.
http://66.12.139.58/images/qsterror.gif my script is simple NPC_SCRIPT 2006{ TRIGGER_TEXT:Hail:{ SAY:Hiya } } N E ideas? |
it works in the zone9x.exe fyi
|
Just a wild guess, is there extra charage returns after the last }
I have no idea if it matters, just a thought. |
only problem i've had with the scripting was that TRIGGER_ITEM doesn't seem to work.
|
Re: NPC Scripting Error - is it just me?
Quote:
Code:
NPC_SCRIPT 2006{ |
fixed trigger item...
changed: CheckQuests(zone->GetShortName(), "%%item%%", tmp->GetID(), TradeList[0]); to: if (tmp->IsNPC()) { CheckQuests(zone->GetShortName(), "%%item%%", tmp->CastToNPC()->GetNPCTypeID(), TradeList[0]); }} in client_process.cpp. this way it passes the correct ID to checkquests. :) |
All times are GMT -4. The time now is 11:56 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.