Jump to content

Script parsing.


antstubell

Recommended Posts

Very simple script that I simply cannot parse correctly. Just want to move all player items to a chest including quest items.

 

 

Float Property DelayB4Dump Auto
Message Property MyMsg Auto
ObjectReference Property StartStoreItemsChest Auto

Event OnActivate(ObjectReference akActionRef)
Utility.Wait(DelayB4Dump)
MyMsg.Show()
Game.GetPlayer().RemoveAllItems(abRemoveQuestItems = true, (StartStoreItemsChest))
EndEvent

 

Link to comment
Share on other sites

The container receiving the items needs to be listed first optionally followed by retaining ownership and moving quest items.
Move all non-quest items and change ownership:
Game.GetPlayer().RemoveAllItems(StartStoreItemsChest)

Move all non-quest items and retain ownership:

Game.GetPlayer().RemoveAllItems(StartStoreItemsChest,true)

Move all items including quest items and retain ownership:

Game.GetPlayer().RemoveAllItems(StartStoreItemsChest,true,true)
Move all items including quest items and change ownership:
Game.GetPlayer().RemoveAllItems(StartStoreItemsChest,false,true)

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

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