Getting rid of a NPC
Author | Topic: Getting rid of a NPC |
---|---|
Infiltrator
Member # 760
|
written Friday, December 24 2004 11:04
Profile
I'm trying to have a NPC to leave the scenario completely (aka dissappear...die...whatever..I just need him to go away :P ) after one conversation between the party and the NPC. How can I achieve this? -------------------- "The Darkness Shall Return!" Posts: 642 | Registered: Saturday, March 16 2002 08:00 |
Off With Their Heads
Member # 4045
|
written Friday, December 24 2004 11:15
Profile
Homepage
There are any number of ways of doing things. One way is to use erase_char and set_flag. That gets rid of the character in the town for the moment, but as soon as the party leaves and re-enters, the character will be back. To fix this, check that flag in the town's INIT_STATE, and if the flag is set, erase_char again in the INIT_STATE, so that the party will never see this character. There are lots of other ways, too. -------------------- Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens. Smoo: Get ready to face the walls! Ephesos: In conclusion, yarr. Kelandon's Pink and Pretty Page!!: the authorized location for all things by me The Archive of all released BoE scenarios ever Posts: 7968 | Registered: Saturday, February 28 2004 08:00 |
Infiltrator
Member # 760
|
written Friday, December 24 2004 23:12
Profile
Thanks. I didn't even found the erase_char call when I looked...I must be becoming blind :) -------------------- "The Darkness Shall Return!" Posts: 642 | Registered: Saturday, March 16 2002 08:00 |