Jump to content

Simple Script Request (I think)


GabriellaBlanc

Recommended Posts

Hello everyone. Well, It's simple. I'm looking for a script that makes all the Ice Cold drinks unlimited. I don't know how a script works, but, for example, I have a skse script that everytime I shoot an arrow, the game adds another one, making it "unlimited". And It doesn't shows up any message on the upper-left corner of the screen. I hope that this don't cause much trouble. Thanks for reading.

Link to comment
Share on other sites

You don`t need SKSE for unlimited Cold drinkes.

Formlist Property MyFormlist Auto Const

Event OnQuestInit() 
RegisterForRemoteEvent(Game.GetPlayer(), "OnItemEquipped")
EndEvent 

Event Actor.OnItemEquipped(Actor akSender, Form akBaseObject, ObjectReference akReference)
   If akBaseObject
      If MyFormlist.HasForm(akBaseObject) 
           akSender.AddItem(akBaseObject, 1, true)
      EndIf
   EndIf
EndEvent

You need a quest wich is "start game enabled" and a formlist with cold drinks you want to be endless. Hope you`ll figure out how do other things.

Edited by kitcat81
Link to comment
Share on other sites

  • 1 month later...

You don`t need SKSE for unlimited Cold drinkes.

Formlist Property MyFormlist Auto Const

Event OnQuestInit() 
RegisterForRemoteEvent(Game.GetPlayer(), "OnItemEquipped")
EndEvent 

Event Actor.OnItemEquipped(Actor akSender, Form akBaseObject, ObjectReference akReference)
   If akBaseObject
      If MyFormlist.HasForm(akBaseObject) 
           akSender.AddItem(akBaseObject, 1, true)
      EndIf
   EndIf
EndEvent

You need a quest wich is "start game enabled" and a formlist with cold drinks you want to be endless. Hope you`ll figure out how do other things.

 

Many thanks! I'll try to figure out!

Link to comment
Share on other sites

Alternatively if you want the lazy method vs figuring out scripting, just get a mod that gives you machines to make cool drinks or console in a bunch of them.

 

I was trying so hard to figure out how to make this work without console commands that I forgot to search for fridge mods hahaha, but thank you for your reply!

Link to comment
Share on other sites

  • Recently Browsing   0 members

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