Jump to content

randomtguy

Members
  • Posts

    7
  • Joined

  • Last visited

Nexus Mods Profile

About randomtguy

randomtguy's Achievements

Rookie

Rookie (2/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Great thanks, that worked. Of course there's a billion other errors too. I can't do this, I give up.
  2. I just want to get the value of a global variable so I can multiply it with an int. But I don't understand how to and the wiki has multiple syntaxes on different pages all of which fail to compile with Papyrus.
  3. Thanks guys, but no still doesn't work. Trying to load the language I get fail to import and running the bat does nothing (and yes I changed the paths).
  4. Does anyone have Notepad++ working with Papyrus? I've tried the plugin on the Skyrim Nexus, I've tried sticking the XMLs from the CK wiki anywhere the damn program is supposed to look for them, I've tried another XML file I found elsewhere, I've tried importing said XMLs as user defined languages. Nothing works. Notepad++ won't recognise PSC files as files it can open or save as or do the auto-highlighting of variables etc it's supposed to. I don't even want to compile through it (yet anyway) I just want the highlighting and for Notepad++ to even recognise the language.
  5. What's the most efficient way to have an integer raise and lower over time? I know I could do it with a StartTimerGameTime loop adding + 1 every in game hour or whatever, but is there a better, less event spammy way to do it?
  6. Hi, I'm struggling to write my first real Papyrus script and was hoping someone could answer some of my questions. 1) What's the best way to add functionality to a script from an existing mod without replacing the script fully? For example, I'm trying to design a script that activates when an activemagiceffect from another mod kicks in, applies an additional effect and then deactivates when the activemagiceffect is disabled. 2) How do I call and store a variable that's set by another script, manipulate that variable using my script temporarily and then set it back to the initial number? 3) How do can you make it so that every, say, 5 in game minutes, there's a 10% chance of an effect firing, and if that effect doesn't fire, then the script loops back and there's another roll of the dice in another five minutes? I know Utility.randomInt is the way to do the dice roll, but I can't figure out how to make it recur.
×
×
  • Create New...