Jump to content

Using array_var in script, need assist


mastahbossu

Recommended Posts

I want to equip my companions with a Radiation Suit whenever I put one on myself, this is the script I've got so far:

scn ArmorRadiationSuitScript

begin OnEquip player

	;if eval (Ar_Find VeronicaREF, Player.GetFollowers) != Ar_BadNumericIndex
		VeronicaREF.AddItem ArmorRadiationSuitCompanion 1
		VeronicaREF.EquipItem ArmorRadiationSuitCompanion 
	;endif
end


begin OnUnequip player

	VeronicaREF.UnequipItem ArmorRadiationSuitCompanion
	VeronicaREF.RemoveItem ArmorRadiationSuitCompanion 1

end

The parts that I've commented out are not working, haven't work with arrays before, what am I doing wrong?

 

Edit: Turns out I wasn't using NVSE -editor, disregard this post I guess :P

Edited by mastahbossu
Link to comment
Share on other sites

  • Recently Browsing   0 members

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