Jump to content

Help with a Script or what I am doing wrong.


draco1122

Recommended Posts

I have two script fragments I am trying to get to work. Goal is to make terminal exit then open container. I have Force withdraw check but that didn't work. Terminal stays open.


RegisterForMenuOpenCloseEvent("Exit")

OnMenuOpenCloseEvent(TerminalMenu asMenuName, close abOpening)

if (asMenuName== "Exit")

if (abOpening)

aaadWeaponAmmoBin.Activate(Game.GetPlayer())


OR


RegisterForMenuOpenCloseEvent("Exit")

OnMenuOpenCloseEvent(TerminalMenu asMenuName, close abOpening)

aaadWeaponAmmoBin.Activate(Game.GetPlayer())


Error is Fragments\Terminals\TERM_aaadWeaponsTerminalSubM_0103F3C7.psc(16,34): no viable alternative at input 'asMenuName'

Fragments\Terminals\TERM_aaadWeaponsTerminalSubM_0103F3C7.psc(16,61): required (...)+ loop did not match anything at input ')'



Exit = my terminal



Link to comment
Share on other sites

  • Recently Browsing   0 members

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