Aller au contenu

Photo

Variables to Adjust default Combat Behavior?


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

#1
Buddywarrior

Buddywarrior
  • Members
  • 256 messages

I think I read something a while ago about being able to set variables on a monster to change it's combat behavior. Anyone know where I can find the variables and values? 



#2
Proleric

Proleric
  • Members
  • 2 356 messages
http://www.nwnlexico...w_flag_behavior

You can set these flags on a local variable - IIRC the boar template is an example.
  • Buddywarrior aime ceci

#3
Buddywarrior

Buddywarrior
  • Members
  • 256 messages

Consider yourself hugged. Thank you Proleric!



#4
Buddywarrior

Buddywarrior
  • Members
  • 256 messages

I found this also. Though I'm not sure entirely how it works ( I just really need to play with it).

http://www.nwnlexico...2_inc_switches 

 

How I'm reading this, as long as the OnSpawn has an include for x2_inc_switches then I should be able to add the variable X2_L_SPAWN_USE_STEALTH to 1 (or true) on the creature when it spawn, then it will attempt stealth right away. 

 

#5
Proleric

Proleric
  • Members
  • 2 356 messages
This might help:

http://neverwinterva...-configure-them

More were introduced in 1.69 for horses:

http://www.nwnlexico...odule_Variables

I made a template for the 1.69 module load event here:
http://neverwinterva...ript/horse-demo

I'm unable to check right now, but IIRC it might be missing some older X2 switches - someone (Shadooow?) may have made a better one.
  • Buddywarrior et Kato - aiment ceci

#6
Buddywarrior

Buddywarrior
  • Members
  • 256 messages

Thanks again, I'll give it a good read.