Jump to content
⚠ Known Issue: Media on User Profiles ×

Ryder104

Members
  • Posts

    5
  • Joined

  • Last visited

Nexus Mods Profile

About Ryder104

Ryder104's Achievements

Rookie

Rookie (2/14)

0

Reputation

  1. yes, i thought about modifying carry limit to this NPC with another script thanks a lot for telling me :happy: Although, I added extends ObjectReference, nothing happens. There is nothing in the console showing up despite debug.trace line in the script Scriptname WALKbagOpener extends ObjectReference Actor property WALKinfiniteBagReference auto Event OnEquipped(Actor akActor) Utility.wait(1.0) if akActor == Game.GetPlayer() WALKinfiniteBagReference.OpenInventory(true) Debug.trace("Bag Opened") endif EndEvent
  2. I made a script for an "infinite bag" (it is a NPC in a interior cell that I open his inventory to store items) The script compiles successfully, but nothing happens when I equip the item on my character I am really confused :sad: Here is the script but this should not be the issue since it compiles Scriptname WALKbagOpener Actor property WALKinfiniteBagReference auto Event OnEquipped(Actor akActor) Utility.wait(1.0) if akActor == Game.GetPlayer() WALKinfiniteBagReference.OpenInventory(true) Debug.trace("Bag Opened") endif EndEventThe property is also link to the reference so I don't think the problem comes from property. I have the item on me in game, but when I equip the sword ( from a ingame shortcut to be sure I am not in a menu ) nothing happens. By the way, there is no debug trace in the console either. Just nothing happens. Thank you if you have any ideas.
  3. Hey thanks, I will keep that :smile: Edit: I havn't even noticed my original script hasn't got the first line that is required
  4. Lol ok, thank you. Modactorvalue does not exist but I found it on creationkit.com nevermind :confused:
  5. Hello dear modders, I really don't know what is wrong with this script. Its extends to "Actor", so I should be able to use ModActorValue or ModAV in my script, isn't it ? Scriptname WALKBagSetInfiniteScript extends Actor Actor Property Player auto Event OnActivate(ObjectReference akActionRef) Player.ModActorValue("CarryWeight", 9999999) endEvent Here is the compiler result Starting 1 compile threads for 1 files... Compiling "WALKBagSetInfiniteScript.psc"... D:\SteamLibrary\steamapps\common\Fallout 4\Data\Scripts\Source\User\WALKBagSetInfiniteScript.psc(7,8): ModActorValue is not a function or does not exist No output generated for WALKBagSetInfiniteScript.psc, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed. Failed on WALKBagSetInfiniteScript.pscIt says ModActorValue does not exist anyway. Thanks for any answer :3
×
×
  • Create New...