Jump to content

Photo

Created Helm, want it ONLY during combat

script helmet combat

  • Please log in to reply
4 replies to this topic

#1
PsychoSlammer

PsychoSlammer

    Faithful poster

  • Members
  • PipPipPipPip
  • 1,128 posts

this armor set i created for my follower, i only want the helm to appear during combat. is there a small script to add to it or do i need to create a quest and script it? 

 



#2
dylbill

dylbill

    Resident poster

  • Premium Member
  • 2,916 posts

this armor set i created for my follower, i only want the helm to appear during combat. is there a small script to add to it or do i need to create a quest and script it? 

 

 

Hey, yes you can do this fairly easy by creating a new spell / ability that detects whether the NPC is in combat or not. Make a new magic effect: Script, Constant effect, Self. Then make a new spell, Type: Ability, constant effect, self, and put your magic effect on it with the condition IsInCombat == 1. 

 

Put this script on your Helm: 

Spoiler

Name the script something unique. 

 

Put this script on your magic effect:

Spoiler

 

Again, name the script something unique.


Edited by dylbill, 04 April 2020 - 05:31 AM.


#3
dylbill

dylbill

    Resident poster

  • Premium Member
  • 2,916 posts

I had another thought. If you only want this function for your specific follower, you could make a new quest, start game enabled, and make a new reference alias on the quest that points to your follower. Put this script on the reference alias:

 

Spoiler

Again name the script something more unique.


Edited by dylbill, 04 April 2020 - 07:33 AM.


#4
PsychoSlammer

PsychoSlammer

    Faithful poster

  • Members
  • PipPipPipPip
  • 1,128 posts

hey thanx, i did already get it done. i found a short script that i placed on the follower and does not require the item to be in inventory.



#5
dylbill

dylbill

    Resident poster

  • Premium Member
  • 2,916 posts

Cool good to hear!







Also tagged with one or more of these keywords: script, helmet, combat

IPB skins by Skinbox
Page loaded in: 1.153 seconds