Jump to content

Smegmeister

Premium Member
  • Posts

    6
  • Joined

  • Last visited

Nexus Mods Profile

About Smegmeister

Smegmeister's Achievements

Rookie

Rookie (2/14)

0

Reputation

  1. I got the spell to remove the item from the inventory. You were right Maxaturo, the script did work, I just didn't understand the properties aspect of it when I first attempted and didn't realize that was the issue. As for keeping the spell from casting and the other spells I want to do, I'm gonna do some much needed reading and tutorials on papyrus to better my understanding. Thanks again Maxaturo, Cumbrianlord, and SurfsideNaturals for all of your help.
  2. I did use the script you gave me and tested it as suggested. After fresh installing and making a clean save the spell still doesn't display any message when hitting either a wall or NPC.
  3. When I cast the spell on the wall I didn't receive any message and when I hit an NPC I received a message saying they resisted the spell (which happened previously, but I forgot to mention it), but no "Spell Cast" message. It may sound stupid and naive of me, but I went into this fairly blind and didn't consider starting off of a fresh reinstall, so I'll do that and come back with the results.
  4. After a few hours of trials, tribulations, and misreading instructions, I am at a loss of what to do. I've tried the script provided, modifying it, and even other scripts I could find online; but not having the item needed in the inventory doesn't stop the spell from casting, and casting the spell doesn't remove the item from the inventory when it is present. The spell won't deal damage when the needed item isn't present, so that's a plus, but it still isn't what I want from the spell. This is my current script I compiled after finding a similar topic: Scriptname RailgunSpellScript extends activemagiceffect Conditional'Casting this spell removes a gold coin from the player'{Scriptname RailgunSpellScript extends ActiveMagicEffect MiscObject property Gold001 AutoInt GoldCount = akCaster.GetItemCount(Gold001)'if player has 0 gold, spell can't be cast'if GoldCount == 0 akCasster.InterruptCast()else'if spell is cast, remove a gold coin from player inventory' Game.getPlayer().RemoveItem(Gold001, 1)endifEndEvent}
  5. I'm very new to modding Skyrim and I'm planning on making a set of modded spells that require an item to cast. For example, a powerful fire spell that requires fire salt before it can be cast, and after casting removes the fire salt from the player inventory. I can't seem to figure out how to do this, and I can't find any tutorials that touch this subject. Could this be done without custom scripts? Or should I look into custom scripting to resolve this?
×
×
  • Create New...