Jump to content

Tracking bodycount variable


Jamo12

Recommended Posts

Hi guys,

 

I've been working on a simple script that checks when all the raiders in an area have been killed.

 

This is the script attached to each raider which SHOULD add 1 to the bodycount:

 

 

scn aaaMQ07BodyCountRadierscript
Begin OnDeath
set aaaMQ07.BodyCountRadiers to (aaaMQ07.BodyCountRadiers + 1)
End

 

 

and this is the quest script checking the variable:
Begin Gamemode
If BodyCountRadiers >= 4
setstage aaamq07 30
Endif
The variable bodycount is a short and I'm aware of the spelling error "Radiers" and have changed the scripts accordingly.
Thanks for the help,
Jamo12 :smile:
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...