If he was wearing it from the begining, then the OnEquip block would never have run, so IsWearing would have never been set. Try it with a follower who you give the armor to, or just change the script to set Is Wearing to 1 by default. Or, if you use FOSE, you can add a check to see if the armor in slot 2 is Outcast PA with http://fose.silverlock.org/fose_command_doc.html#GetEquippedObjectand set IsWearing that way. Or instaed of a script on the armor, make it an enchantment
Or add this bit to the script:
You can then remove the "Set Self to GetContainer" line from the OnEquip block as it will be redundant. But that forces the NPC to wear the armor even if they would have chosen to wear something else, which may or may not be a problem. And check out http://geck.gamesas.com/index.php/Force_an_actor_to_equip_new_stuff for an alternative solution.
Or add this bit to the script:
Short DoOnceBegin OnLoad If DoOnce == 0 Set self to getcontainer self.UnequipItem ArmorPowerOutcast self.EquipItem ArmorPowerOutcast Set Doonce to 1 EndifEnd
You can then remove the "Set Self to GetContainer" line from the OnEquip block as it will be redundant. But that forces the NPC to wear the armor even if they would have chosen to wear something else, which may or may not be a problem. And check out http://geck.gamesas.com/index.php/Force_an_actor_to_equip_new_stuff for an alternative solution.
Hey pkleiss,
You must be happy that you can get some payback to your American neighbors now, eh?
Fantastic game. Both teams really were outstanding, though Luongo made my heart drop a few times. Sure wish Miller had been born in Windsor or somewhere a bit further North though!
Anyways... got a bit distracted trying to dial in sniping ballistics and had the Power armor on hold for a bit.
Tried it out today though and I have to say that the script still doesnt seem to be working for me. I was taking damage from dogs with no sign of returning health
Not only that, I added the object effect 'water breathing to the helm' and then proceded to drown in the river.
Doh!
Seems the damn suits are nerfed!