Aller au contenu

Photo

Encounter fight Ashenwood style


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
andysks

andysks
  • Members
  • 1 650 messages

Hi all. All I'm asking is for someone to tell me which script fires and controls this fight where the party needs to destroy the blighted trees in order for the enemies to stop spawning. I looked at the module and the convo, but I cannot find it. All I see is that C_nadaj is the owner of the convo, and on the ga_attack on the last node she is the attacker as $OWNER. This is no problem, I guess I can fire the encounter by another ga_ script Bealzebub gave me a while ago for triggering encounters. What I can't seem to locate is the rest. Destroying the trees and stopping the fight.

Thanks.



#2
kevL

kevL
  • Members
  • 4 061 messages

the area heartbeat runs DoLociAI()

which runs GetIsLociDefeated()

which does a number of checks to see if the Loci are defeated or not.

And if they are, run DoLociDefeat() and set a local_int on the module FALSE to prevent the areaHB from activating more Loci, looks like

then finally DoWoodManConversation()


all in 'c_inc_loci'



#3
andysks

andysks
  • Members
  • 1 650 messages

Ah thanks. I didn't think to look at the area heartbeat. I have some reading to do next time I find the time.