Jump to content

winteriphone

Members
  • Posts

    6
  • Joined

  • Last visited

Nexus Mods Profile

About winteriphone

winteriphone's Achievements

Rookie

Rookie (2/14)

0

Reputation

  1. First I wanted to thank everyone for their help on my last question. This question is some what complex for me to figure out. I have spent many hours googling and searching for an answer with out luck. Mainly what this mod will do is when a player clicks on a button they will receive all the enchantments I have stored in a FormID List. The issue I'm having is I need to write it in a "While" statement however, I am unclear how to do this correctly. Thanks -Skyrim Special Edition Xbox - Example of one Enchantment in my FormID List: EnchWeaponAbsorbHealthBase "Absorb Health" [ENCH:0010FB91] Formlist property AllEnchantments Auto Actor Property PlayerRef Auto Event OnActivate(ObjectReference akActivator) Int Index = 0 While Index < AllEnchantments.GetSize() (AllEnchantments.getAt(Index)).SetPlayerKnows(true) Index += 1 EndWhile debug.MessageBox("Finished Adding All Enchantments") EndEvent
  2. Okay, thanks. I found the setting for it in case someone is wondering. It is Player [00000014] .
  3. Thanks for your help. I found that using "PlayerRef" to get the name only works if you have SKSE.
  4. Do you mean these? Actor Property Player Auto Potion Property HealthPotion Auto MiscObject Property Lockpick Auto Weapon Property Longbow Auto Ammo Property IronArrow Auto
  5. I am writing a simple Papyrus Script that adds a weapon and armor to the game after pressing a button (Like a button in Cheatroom). The script runs because it brings up the debug message however, the gear I try to add never gives it to the player. Is there something I'm missing? - Skyrim Special Edition, Latest Version with all DLC, PC Function AllStartGear() Player.AddItem(Lockpick, 20, true) Player.AddItem(HealthPotion, 5, true) Game.GetPlayer().AddItem(Lockpick, 12) Game.GetPlayer().AddItem(Longbow, 1) Game.GetPlayer().AddItem(IronArrow, 12) debug.MessageBox("All Starting Gear Added") ;END FRAGMENT CODE - Do not edit anything between this and the begin comment Actor Property Player Auto Potion Property HealthPotion Auto MiscObject Property Lockpick Auto Weapon Property Longbow Auto Ammo Property IronArrow Auto EndFunction
×
×
  • Create New...