Primary tabs

Comments by User

Sunday, December 30, 2012 - 03:55

I dont know how useful it would be for anything, but i was hoping i could set an npc to have dialogue designated for certain names, or groups of names, or even just the first letter. I was thinking some user created database of names or something for the npc to draw its responses from. Like if i choose the name Jack I get "Jack? Like in the box?", but if i choose say Richard the Npc might have some story about a famous Richard that once lived. I was also thinking of just writing a couple greetings for an npc and having them randomly chose one when a player talks to them. 

 I was just seeing if i could make my small test level have a bit of randomosity each time i restart it or let one of the kids play it. 

Friday, December 28, 2012 - 20:05

Like the poster, I'm relatively new to programming. I've been messing with the Flare engine for a couple weeks, and actually found it fairly easy to manipulate and add custom maps and npc's. So i'd like to thank the creator for providing me hours of entertainment.

I have a question though. Is it possible to set an NPC to have a special response to a certian player name?

If so what would the code look like?