Script getting cut off + zone crash
Ok, I wrote a bunch of scripts today and made new NPCs. First, I created Auntie Zufie and Uncle Arkle, 2 halflings that respond to hail by giving out rations and water flasks. They also give out other food and drink items if you say the trigger word. Auntie works fine but Uncle's text gets cut off on this line:
SAY:If yer made of stronger stuff I've got the thing fer ya! Try some o' this [bleeding brain], [hulgarsh], or my favorite: [Underfoot Brown]!
The text is cut off at: SAY:If yer made of stronger stuff I've got the thing fer ya! Try some o' this [bleeding brain], [hulg
It just stops and I can't figure out why. The trigger words for the rest of the script still work, its just not saying everything.
My other problem is with a NPC I created named Captain Tygoe. The idea is that you hail him, he tells you of possible enemies in the zone and asks you to kill them. When you kill the NPCs they spawn a badge I made and you hand it in for a reward. I wanted him to add you to their aggro list as soon as you accept the quest, so they will attack you when you get near them. But when I try that it crashes the zone. Here is my script, can anyone see whats causing the problem? Thanks
NPC_SCRIPT 11487 {
TRIGGER_TEXT:Hail:{
FACE_TARGET
EMOTE:looks you up and down. He has an air of strength and iron will about him.
SAY:Greetings soldier, I hear you are fresh, clever and strong. It just so happens I have a [task] that fits your description.
}
}
NPC_SCRIPT 11487 {
TRIGGER_TEXT:task:{
FACE_TARGET
SAY:We have received reports of Dark Elf scouts in the [mountainous area] to the east of here. I do not think any lowly scout could sneak this far into Combine territory, nevertheless I want someone to investigate.
EMOTE:points at you.
}
}
NPC_SCRIPT 11487 {
TRIGGER_TEXT:mountainous area:{
FACE_TARGET
EMOTE:points east.
SAY:head east of here and you will find a mountainous area directly north of our Combine portal--it is a fairly treacherous area and the perfect vantage point for enemy spies. Eliminate any Dark Elf slime you encouner and bring me proof of their death. For this you shall be well rewarded. Good luck.
ADD_HATELIST 11488
ADD_HATELIST 11489
ADD_HATELIST 11490
ADD_HATELIST 11491
ADD_HATELIST 11492
ADD_HATELIST 11493
}
}
NPC_SCRIPT 11487 {
TRIGGER_ITEM:28585:{
EMOTE:takes the badge and tosses it into box full of similar trophies.
SAY:Excellent work! Another enemy of the Empire dead is always rewarded.
EXP:5000
Thanks for any responses. Scripting is a blast so far but I'm not sure how to correct these snags.
|