What I'm trying to do is take a class member and branch using an if statement based on that variable. In this case, the variable name is hostile and I am trying to see whether the NPC 'dave' is hostile. I've looked around using Google and found nothing as well as on the documentation for this site and so I turn to the forums. Please help. I've tried to work out how to do it in the code below but unsurprisingly, I was unable to work it out, can anyone give me a hand?
@Chervil
You sir are a scholar and a gentleman; I was completely lost. The reason your reply disappeared before is that I never saw it before I deleted the thread after finding what I thought was the solution but turned out to be a dead end. Thank you so much!