Author Topic: BlizzABS Checking Group Attitude  (Read 837 times)

Offline CountVlad

  • Trained Member
  • *
  • Posts: 35
  • LV: 0
    • View Profile
BlizzABS Checking Group Attitude
« on: June 04, 2010, 12:55:55 PM »
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:
Code: [Select]
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.
« Last Edit: June 05, 2010, 01:29:48 PM by CountVlad »