Jump to content

ngari2015

Members
  • Posts

    4
  • Joined

  • Last visited

Nexus Mods Profile

About ngari2015

ngari2015's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Can someone please let me know why I can't seem to summon a follower from a formlist? The summon works fine on a follower, but not when the follower is in the formlist. Thanks. Scriptname SummonTest extends activemagiceffect Actor Property PlayerREF Auto; Actor Property ActorToSummon Auto; FormList Property ActorsToSummon Auto; Function OnEffectStart(Actor akTarget, Actor akCaster) Int i = 1 float az = PlayerRef.GetAngleZ() Actor ActorToSummon2 = ActorsToSummon.GetAt(i) As Actor ActorToSummon2.SetAngle(0.0,0.0,az + 180.0) ActorToSummon2.MoveTo(PlayerREF, 200 * Math.sin(az), 200 * Math.cos(az), 0.0, false) ActorToSummon.SetAngle(0.0,0.0,az + 180.0) ActorToSummon.MoveTo(PlayerREF, 200 * Math.sin(az), 200 * Math.cos(az), 0.0, false) EndFunction The ActorsToSummon has these values 0 REFR HousecarlWhiterunRef 1 REFR HousecarlSolitude 2 REFR HousecarlRiften
  2. Okay, I was able to find the spell. For whatever reason, the ID is not that ID. Using help, I was able to search and find the correct ID and add the spell.
  3. Thank you for the advice. I was able to create a spell following a YouTube video https://www.youtube.com/watch?v=uUY8VrWxQRU. I didn't create a spell tome. I just tried adding the spell using the console, but I'm getting 'Missing parameter spell item compiled script not saved' when I try player.addspell 03007B2E. My form ID is 03007B2E. I also tried help, but seems the spell is not showing up. I'm just doing a basic teleport like the video to get things working first. I picked Lydia to try and teleport her to me, but player.addspell can't seem to find the spell. Anybody know why it's not showing up? I see my script in the script folder and Tes4Edit sees the spell and form ID and the script compiles fine.
  4. Hi. I have two ESPs. The 1st is the master of the 2nd. The 1st has a cell with custom NPCs. The 2nd ESP has a spell that I want to use to summon a random NPC from the first ESP. I am a newbie so I have a few questions. Do I need to create a formlist in creation kit? When I try, it removes the master leaving only Skyrim and Update upon saving. I want to use GetFormFromFile to get all the NPCs and then pick a random one. FormList MyFormlistForm = Game.GetFormFromFile(0x0012345, "MyMod.esp")
×
×
  • Create New...