View Single Post
  #3  
Old 02-16-2003, 06:01 AM
killspree
Dragon
 
Join Date: Jun 2002
Posts: 776
Default

Try this:

Code:
TRIGGER_TEXT:Hail:{
SAY:Greetings, %CHARNAME%. How are you today?
}

TRIGGER_TEXT:I am fine:{
EMOTE:smiles, 'That's great to hear!
}
END_FILE
Other triggers are: TRIGGER_ITEM(item turn-ins), TRIGGER_DEATH(npc death, like if you want to spawn a mob on another mobs death), TRIGGER_ATTACK(for when the mob aggros, but this seems broken atm), and TRIGGER_FLAGS(check wiz's tutorial for his changes for info on this one).

Some common scripts that are run by the triggers: SAY, TEXT, EMOTE, NPC_FLAG(check wiz tutorial), SPAWN_NPC, SPAWN_ITEM, GIVECASH, DEPOP, ADDHATELIST(causes the npc to agro on a person when the trigger is run), FLAG_CHECK(see tutorial), CHANCE(chance for the script to happen when the trigger is run), and FACTION_CHECK.

There are a few others I'm probably forgetting, but those should all work.

Post a sample of one of your quests and I'm sure someone would be willing to help you figure out what went wrong.
Reply With Quote