Jump to content

blackarchan

Premium Member
  • Posts

    1
  • Joined

  • Last visited

Nexus Mods Profile

About blackarchan

blackarchan's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. So im trying to make a mod with two functions from Horizon more exactly the Power Armor Locking mechanism and the Lock and Hacking options.But every time i try to compile the scripts im getting an error Script: ScriptName Fragments:Perks:PRKF_bkn_PowerArmorMenu extends Perk Const hidden Keyword Property KeywordPowerArmor Auto Const Keyword Property KeywordDisable Auto Const Message[] Property MsgMenus Auto Const Function Fragment_Entry_00(ObjectReference akTargetRef, Actor akActor) Self.MainMenu(akTargetRef, akActor, 0) EndFunction Function Fragment_Entry_01(ObjectReference akTargetRef, Actor akActor) Self.MainMenu(akTargetRef, akActor, 1) EndFunction Function MainMenu(ObjectReference akTargetRef, Actor akActor, int inMenu) int return = 0 If (inMenu == 1) return = MsgMenus[1].Show(0, 0, 0, 0, 0, 0, 0, 0, 0) Else return = MsgMenus[0].Show(0, 0, 0, 0, 0, 0, 0, 0, 0) EndIf If (return == 1) akTargetRef.AddKeyword(KeywordDisable) akTargetRef.RemoveKeyword(KeywordPowerArmor) ElseIf (return == 2) akTargetRef.AddKeyword(KeywordPowerArmor) akTargetRef.RemoveKeyword(KeywordDisable) ElseIf (return == 3) int inputreturn2 = MsgMenus[2].Show(0, 0, 0, 0, 0, 0, 0, 0, 0) EndIf EndFunction Error: Compiling "Fragments:Perks:PRKF_bkn_Perk_LockBreach_Saf_01000F9C"... C:\Users\blackarchan\AppData\Local\Temp\PapyrusTemp\Fragments\Perks\PRKF_bkn_Perk_LockBreach_Saf_01000F9C.psc(7,0): no viable alternative at input 'Scriptname' C:\Users\blackarchan\AppData\Local\Temp\PapyrusTemp\Fragments\Perks\PRKF_bkn_Perk_LockBreach_Saf_01000F9C.psc(0,0): error while attempting to read script Fragments:Perks:PRKF_bkn_Perk_LockBreach_Saf_01000F9C: Object reference not set to an instance of an object. No output generated for Fragments:Perks:PRKF_bkn_Perk_LockBreach_Saf_01000F9C, compilation failed. What exaclty i am doing wrong ?? Im getting the same error on both scripts
×
×
  • Create New...