Jump to content

M3rvin

Premium Member
  • Posts

    23
  • Joined

  • Last visited

Nexus Mods Profile

About M3rvin

Profile Fields

  • Country
    Germany

M3rvin's Achievements

Explorer

Explorer (4/14)

  • First Post
  • Collaborator Rare
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. I'm sure that the 1st way worked a few patches back. And the creation kit wiki article on additem says: akItemToAdd: [...] If a form list, then it will add aiCount of each item in the list.
  2. I want to add 1 unit of every item in a form list to a container. But the basic Container_ListView.AddItem(List_Sort, 1, true) doesn't work. If I replace that by the following loop, it works like a charm. int i = 0 Form Item while(i < List_Sort.GetSize()) Item = List_Sort.GetAt(i) Container_ListView.AddItem(Item) i += 1 endwhile Does anyone know what the cause of this problem is?
  3. I'd like to use << as the text for a button of a message box. But the game seems to recognize it as some kind of text replacement. Is there any way to tell the game that it should ignore any special function/meaning of the following characters? (The @ character does this for strings in C#)
  4. @ BlackCompany Just take a look at Automatic Light Switch. It provides the script you're searching for with a detailed tutorial on how to use it.
  5. Is there any function similar to GetInventoryObject added to Oblivion/Fallout 3/Fallout New Vegas by the corresponding script extender (obse,fose,nvse)? It might be added by the skyrim script extender to Skyrim, but I couldn't find any documentation for its functions.
  6. Is there any "top level type thing" for all the things that are listed in the CK's Object Window under "Items"? I'd like to create a array of this type as a property of a script of mine. I could add an array for each type of item (Weapon[], Ammo[], Armor[] and so on) but that's way to complicated for me. The array should allow the same type of input as the GetItemCount function. Furthermore, I have a problem with the RemodeAddedForm function, that I already posted here I hope that you, fg109, can help me with my problems.
  7. Scripts aren't part of the .esp file like in Fallout 3 or Fallout New Vegas, they're stored in an extra folder (Skyrim\Data\Scripts). Did you remove the scripts from this mod from there as well?
  8. Could you please upload your source files (.psc) as well?
  9. So the Papyrus Script Manager successfully compiled the script(s) you edited? If so a .pex file(s) with the same name(s) as your script(s) should be in your Skyrim\Data\Scripts folder. If you compiled the files correctly, the .pex files should be automatically placed in the right folder, no need to move them by hand. Anyway, how do you know that your script doesn't work?
  10. You have to compile the .psc and thus create .pex files 1) Place the .psc file in the Data/Scripts/Source folder 2) Open the CK and load just Skyrim.esm 3) Gameplay > Papyrus Script Manager 4) Use the filter to find your script, rightclick on it and select Compile You can also set up the compiler to be used from some editors like notepad++ (wiki link)
  11. Thanks for the tip. I did a quick test and it looks good so far. :)
  12. Is it possible to overwrite the default action that an activated objectreference performs? I want to create a script that checks a certain condition and then either opens the container it's attached to or not. I assume that I have to do something with the OnActivate Event but I don't know what.
  13. Could you please describe what that exactly means?
  14. I'm currently trying to manipulate a FormList filled with items using a container. The script is very basic but already gets screwed: Event OnItemRemoved(Form BaseItem, int iCount, ObjectReference rItem, ObjectReference rContainer) List.RemoveAddedForm(BaseItem) EndEvent Event OnItemAdded(Form BaseItem, int iCount, ObjectReference rItem, ObjectReference rContainer) List.AddForm(BaseItem) EndEvent I used message boxes to track the problem: The items are added to the formlist without problem. The list itself is empty and gets just filled by the OnItemAdded Event, thus every item I want to have removed from the formlist was previously added by this very script to it. RemoveAddedForm just removes the form from the formlist at the very first try in the currently loaded save. That means that the first Item I remove from the container gets removed from the list as well. But then RemoveAddedFrom stops working. It won't even help to open the container again or to refill it completely.
  15. I didn't set the properties of the script, next time I should read the tutorials more careful. Thanks for pointing out my mistake. :thumbsup:
×
×
  • Create New...