Jump to content

hxhunter15

Supporter
  • Posts

    4
  • Joined

  • Last visited

Nexus Mods Profile

About hxhunter15

Profile Fields

  • Country
    Philippines

hxhunter15's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. If you want to attach a script to the quest, go to the script tab, click add then [New Script]. Once you've added a new script, it will appear in that tab, then you can right click it then edit source to edit it. You could also follow this tutorial to make the quest run at launch, so that the scripts attached to it will launch at start as well. I think this function is what you need for your script to track down the removed items: https://www.creationkit.com/index.php?title=OnItemRemoved_-_ObjectReference --- FormList Property RemovedItemsArray Auto Event OnItemRemoved(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akDestContainer) RemovedItemsArray.AddForm(AkBaseItem) ; Add removed item to the FormListendEvent--- I think if you're gonna use OnItemRemoved, then you need to attach the script to the player somehow and not to the quest itself. I'm not exactly sure how to do that yet but the only thing I could think of is going to Quest Alias Tab, create a new reference then point it to PlayerRef. In that alias tab, there should be Papyrus Scripts at the right side, then add the script there to attach it to the player Sorry if I'm not clear with my explanation, also note that I'm not pro at creation kit and papyrus(I'm just starting out) so I could probably be wrong, but hopefully this could help you start :smile:
  2. I unchecked the respawn flag but it still doesn't work. ItemsLocker is also an alias. Thanks for the help anyway, I give up on this problem already since it's too frustrating lol
  3. Does anyone know how to use this function properly? https://www.creationkit.com/fallout4/index.php?title=RemoveAllItems_-_ObjectReference It says that with this function, you can remove all items from a container then transfer it to another container. Doesn't matter what i do, it doesn't work properly for me, the items gets removed but it doesn't transfer to the other container. Basically what I'm trying to do is removing all items from dead npcs and then transferring them to a special chest. This is my code: int index = 0while(index < GangDisciplesColl.GetCount()) Actor AllActor = GangDisciplesColl.GetAt(index) as Actor if (AllActor.isDead()) ; Transfer all items to a box AllActor.RemoveAllItems(ItemsLocker.GetRef(), false) AllActor.Disable() AllActor.Delete() endif index += 1endwhile Any help please? thanks
×
×
  • Create New...