Kivan and Tazok encounter?
Greener
Member Posts: 430
In v2.5.17.0 Kivan and Tazok chat before battling while the rest of the bandits on-screen stay neutral and watch. How would I script this to have allow the enemies in the bandit camp become hostile instead of just Tazok?
IF
InParty("kivan")
See("kivan")
THEN
RESPONSE #100
SetGlobal("JoinedBandits","GLOBAL",0)
ChangeEnemyAlly("tazok",ENEMY)
Attack([PC])
END
Post edited by Greener on
0
Comments
@subtledoctor @Grammarsalad @LavaDelVortel
If you are trying to make the ones already in the area hostile, You could EXTEND_TOP of BHOSTILE.BCS with a bhostile.baf and add a line that if Tazok shouts, (Add a shout after he turns enemy), everyone with BHOSTILE.BCS turns hostile, which is everyone in the bandit camp.
So hypothetically:
Tazok's script:
Bhostile.baf
If it's custom placed ones, as long as the actors had the same specific script it largely works the same, except with the script's name and not bhostile.baf.
Either way, some line like the above is needed in the bandit's file to know to turn enemy when this fires, with either a global variable being set so it is triggered, or a shout.