BlizzABS Checking Group Attitude

Started by CountVlad, June 04, 2010, 06:55:55 am

Previous topic - Next topic

CountVlad

June 04, 2010, 06:55:55 am Last Edit: June 05, 2010, 07:29:48 am by CountVlad
I remembered to check the manual this time. lol.
Anyway, what I'm trying to do is set up a system where you can talk to a person using the custom triggers of BlizzABS but you can also attack them (like in Oblivion or Morrowind where you can attack civilians if you really want to). The problem is that I want a variable to change when you first attack them (a bounty) and then to increase again if you kill them. Is there any way, using a parrallel processing event on the map, to detect if a certain group is hostile towards you and put it in a conditional branch?

e.g. (not real coding, sorry. Just might be easier to understand)

In the common event put something like:

if switch "civilian attacked" is OFF
    if "civilian group" is hostile
         Increase variable "bounty" +100
         Turn switch "civilian attacked" ON
    end
end


In the civilian event:

Page 1 - Dialogue that they use normally.
Page 2 - Run only if switch "civilian attacked" is on. Increases variable "bounty" if the event is 'killed'.

I hope that all makes sense.
Does anyone know if this is possible?

EDIT: Never mind, I managed to work something out using events.