Jump to content

Follower behaviour script (Aggression state change or similar effect v


radagast75

Recommended Posts

Hey folks, first time here.

 

So i started moddding Bittercup a bit and tried couple of diggerent scripts and base agression confidence and numerous other things but none worked. What i was trying to do is that she would attack only if we have weapons drawn and just follow me when they are holstered.

 

 

Basic script was something like these

 

Sample 1

 

 

BEGIN GameMode

 

 

if ( GetPlayerTeammate == 1 ) && ( player.IsWeaponOut == 1 )

 

SetAlert 1

ForceAv sneak 70

SetAv Aggression 3

 

 

else

 

SetAlert 0

Forceav sneak 100

SetAv Aggression 0

 

 

 

endif

 

 

END

 

By using Getav ingame i noticed that aggression do change but the behaviour is still the same.. She shoots every damn enemy on sight and even modifying aggroradius and making she use that during follow package wont change her behaviour..

 

I gpt her to do two things, either she attack at once even if she is not in danger or not to attsack at all.. Is it not so that even unaggressive should attack when enemies are damaging her? at least thats what i understood from various article i read...

 

With base aggression being "aggressive" and adding stopcombat to that exact script above i almost got her to work like i wanted.. Until enemies got too close.. At this point she would just freeze in current state of animation if i had weapon holstered BUT would start attack when i draw weapon out.. I tried adding her and removing her from noncombatfaction by adding addtofaction and removefromfaction to the script but that had no effect...

 

i do WANT that to be scripted if possible.. Id rather do it without FOSE for better compatibility but if FOSE can do i guess thats almost okay as well :D

 

I would be glad of any insight to that issue i have here, thanks.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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