Jump to content

Search the Community

Showing results for tags 'messageex'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Nexus Mods Hub
    • Site Updates
    • Projects
    • Site Support
    • Vortex Support
  • Modding Discussion
    • Mod Troubleshooting
    • Mod Ideas
    • Modding Academy
    • Articles and Guides
  • The Lounge
    • Newbies
    • General Chat
    • Gaming
    • Hardware and software discussion
    • Off-Topic
  • Moderation
    • Formal Warnings, Bans and Takedowns
  • Discussions
  • Vortex
  • Archived
    • Nexus Mods app
  • Cyberpunk 2077's Mod Ideas
  • Cyberpunk 2077's Discussion
  • Baldur's Gate 3's Discussion
  • Baldur's Gate 3's Mod Ideas
  • Blade & Sorcery's Discussion
  • Blade & Sorcery's Blade & Sorcery: Nomad
  • Elden Ring's Discussion
  • Elden Ring's Mod Ideas
  • Fallout 4's Discussion
  • Fallout 4's Mod Ideas
  • Fallout 4's Creation Kit and Modders
  • Skyrim's Skyrim SE
  • Skyrim's Skyrim LE
  • Skyrim's Skyrim VR and Consoles
  • Skyrim's Mod Ideas
  • Skyrim's Creation Kit and Modders
  • Monster Hunter's MH Rise
  • Monster Hunter's MH World
  • Monster Hunter's MH Wilds
  • Morrowind's Discussion
  • Morrowind's Spoilers
  • Morrowind's Lore
  • Morrowind's Construction Set and Modders
  • Morrowind's Troubleshooting
  • Mount & Blade II: Bannerlord's Discussion
  • Mount & Blade II: Bannerlord's Old Games
  • Oblivion's Classic Discussion
  • Oblivion's Mod Ideas
  • Oblivion's Mod troubleshooting
  • Oblivion's Oblivion Construction Set and Modders
  • Oblivion's Spoilers
  • Oblivion's Remastered Discussion
  • Ready or Not's Discussion
  • Red Dead Redemption 2's Discussion
  • Red Dead Redemption 2's Mod Ideas
  • Resident Evil Remakes's Resident Evil 4
  • Resident Evil Remakes's Resident Evil 3
  • Resident Evil Remakes's Resident Evil 2
  • Resident Evil Remakes's Resident Evil Village
  • Starfield's Discussion
  • Starfield's Mod Ideas
  • Starfield's Creation Kit and Modders
  • The Witcher's The Witcher 3: Wild Hunt
  • The Witcher's Mod Ideas
  • The Witcher's The Witcher 2: Assassins of Kings
  • The Witcher's The Witcher
  • The Witcher's REDEngine and Modders
  • Spider-Man's Spider-Man Remastered
  • Spider-Man's Miles Morales
  • Spider-Man's Mod Ideas
  • Spider-Man's Spider-Man 2
  • Fallout New Vegas's Discussion
  • Fallout New Vegas's Mod Ideas
  • Fallout New Vegas's Mod Troubleshooting
  • Fallout New Vegas's GECK and Modders
  • Fallout New Vegas's Spoilers
  • Stardew Valley's Discussion
  • Fallout 3's Mod Ideas
  • Fallout 3's Discussion
  • Fallout 3's GECK and Modders
  • Fallout 3's Spoilers
  • Fallout 3's Mod Troubleshooting
  • Dragon Age: Origins's Discussion
  • Dragon Age: Origins's Builder Troubleshooting
  • Dragon Age: Origins's Mod Troubleshooting
  • Dragon Age: Origins's Mod Ideas
  • Valheim's Discussion
  • Dark Souls's Dark Souls
  • Dark Souls's Dark Souls 2
  • Dark Souls's Dark Souls 3
  • Dark Souls's Dark Souls Remastered
  • Mass Effect's Legendary Edition
  • Mass Effect's Original Trilogy
  • Mass Effect's Andromeda
  • Hogwarts Legacy's Discussion
  • Subnautica's Subnautica
  • Subnautica's Below Zero
  • XCOM's Discussion
  • XCOM's Mod Ideas
  • XCOM's Enemy Unknown
  • XCOM's XCOM 2
  • Jurassic World Evolution's Jurassic World Evolution 2
  • Jurassic World Evolution's Jurassic World Evolution
  • 7 Days To Die's Discussion
  • Anno 1800's Discussion
  • Assassin's Creed's Odyssey
  • Assassin's Creed's Valhalla
  • Fallout 76's Discussion
  • Fallout 76's Mod Ideas
  • Far Cry's Far Cry 3
  • Far Cry's Discussion
  • Final Fantasy's Discussion
  • Final Fantasy's VII Remake
  • Final Fantasy's XII The Zodiac Age
  • BattleTech's Discussion
  • Dying Light's Dying Light
  • Dying Light's Dying Light 2
  • Dying Light's The Beast
  • Dragon's Dogma: Dark Arisen's Discussion
  • Dragon's Dogma: Dark Arisen's Mod Ideas
  • Dragon Age: Inquisition's Discussion
  • Dragon Age: Inquisition's Mod Ideas
  • Dragon Age: Inquisition's Troubleshooting
  • No Man's Sky's Discussion
  • No Man's Sky's Mod Ideas
  • The Elder Scrolls Online's Discussion
  • State of Decay's State of Decay
  • State of Decay's State of Decay 2
  • Planet Zoo's Discussion
  • Neverwinter Nights's NWN Discussion
  • Neverwinter Nights's NWN2 Discussion
  • Neverwinter Nights's Mod Ideas
  • My Summer Car's Discussion
  • Metal Gear Solid V: The Phantom Pain's Discussion
  • MechWarrior 5: Mercenaries's Discussion
  • Kingdom Come: Deliverance's KCD1 Discussion
  • Kingdom Come: Deliverance's Modding Tools and Modders
  • Kingdom Come: Deliverance's KCD2 Discussion
  • Devil May Cry 5's Discussion
  • Star Wars Jedi's Fallen Order
  • Star Wars Jedi's Survivor
  • Star Wars: Battlefront II (2017)'s Discussion
  • Sekiro: Shadows Die Twice's Discussion
  • Pillars of Eternity's Pillars of Eternity
  • Pillars of Eternity's Pillars of Eternity 2: Deadfire
  • Palworld's Mod Ideas
  • Palworld's Discussion
  • Palworld's Unreal Engine and Modders
  • Dragon's Dogma 2's Discussion
  • Dragon's Dogma 2's Mod Ideas
  • S.T.A.L.K.E.R. 2's General Modding
  • S.T.A.L.K.E.R. 2's Troubleshooting
  • S.T.A.L.K.E.R. 2's Mod Ideas
  • Horizon Games's Horizon Zero Dawn
  • Horizon Games's Horizon Forbidden West
  • Horizon Games's Ask the Community

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 2 results

  1. This is starting to drive me crazy, and I'm really hoping one of the scripting gurus can help me. I'm creating a mod that adds a perk. The entry point of that perk is "Activate", and the function is "Add Activate Choice". This allows me to run a script whenever the player character interacts with another NPC. And all was going well, until I tried outputting a variable ("player.GetAV Strength" in my case) for debugging purposes. This is when things turned ugly - I could not. After a couple hours of researching, this is the code I have come up with: int iValue set iValue to 42 MessageEx "MessageEx: The value of iValue is %g" iValue PrintToConsole "PrintToConsole: The value of iValue is %g" iValue ShowMessage STUNuTest iValueThe message inside "STUNuTest" is "Test %g". So I start the game, activate the perk, and here are the results I get: 1) MessageEx doesn't show up. 2) PrintToConsole doesn't output anything in the console. 3) ShowMessage displays the following: "Test 0". "Ok", I thought to myself, "perhaps my G.E.C.K or FNV are broken, or my NVSE is installed incorrectly". Then I tried the exact same code from above, but put it in the script of a quest, like this: scn STUNuQuestScript begin gamemode int iValue set iValue to 42 MessageEx "MessageEx: The value of iValue is %g" iValue PrintToConsole "PrintToConsole: The value of iValue is: %g" iValue ShowMessage STUNuTest iValue endWhen I start the game, this is what I get: 1) MessageEx outputs "MessageEx: The value of iValue is 42" on the screen. 2) PrintToConsole outputs "PrintToConsole: The value of iValue is 42" in the console. 3) ShowMessage displays the following: "Test 42". :mellow: My questions are: Is there something wrong with the scripts inside the perk's "Add Activate Choice" that prevents them from passing variables and calling NVSE functions? If yes, is there any workaround that would allow me to output variables from there? If no, is there a perk-less alternative that would allow me to assign an "Activate" event to all NPCs? I'm launching both FNV and G.E.C.K with nvse_loader.exe.
  2. So I've been having issues with this mod I'm building. After several hours of bug testing, I narrowed down where the problem was, and a created a new test script to eliminate the rest of my code as a variable. The test mod consists of a quest that loads on game start and has the following script attached: scn TestMessageEx int DoOnce Begin GameMode if DoOnce != 1 player.additem TinCan01 1 ;to verify the mod has been loaded let DoOnce := 1 endif if IsControlPressed 5 ;when player taps the activate key if player.IsSneaking MessageEx "You Sneaky Devil!" player.additem caps001 2 else player.additem caps001 1 endif endif EndThe script works as expected when not sneaking. The player gets a free cap each time the activate key is pressed. However, if I press the activate key while sneaking, the script to go into a loop of displaying the "You Sneaky Devil!" message and giving the player 2 caps, between 6 to 9 times. Coming out of sneak mode does not break the loop. IsSneaking probably not at fault, because I can replicate the problem by using IsWeaponOut, and my original script uses a completely different trigger. Now here's the weird part. If I comment out either ; MessageEx "You Sneaky Devil!"or ; player.additem caps001 2the looping problem goes away! I get 1 message or 2 caps. As a final note, I still get this bug if I deactivate all other mods and DLCs to the point where only FalloutNV.esm and my test mod are running. Does anybody know what's going on? If not, can you test this script out to see if you get the same bug so I'll know I'm not going crazy? Edit: More info (if it helps). MessageEx is not the problem. The same extra loops happen if I use ShowMessage with a message form in "fly" mode (message appears in the top left corner). 'Message box' mode functions without issue. It's like the activate control is being triggered by the fly message. Is there a way to clear the control buffer before using IsControlPressed or something? I'm stumped. Edit 2: Ok, so it's not IsControlPressed 5 in particular, Using IsControlPressed 0 (forward) instead results in the same extra loops. I would suspect the script is running so fast that the Control buffer doesn't have time to clear before IsControlPressed is called a second time, only there's no problem when I don't display a fly message. In fact, with 1 less command, the second half of my IF block should run just a little bit faster. Help me internet. You're my only hope...
×
×
  • Create New...