• Register
Forum Thread
  Posts  
I need Help with my Fallout New Vegas Script. (Forums : Coding & Scripting : I need Help with my Fallout New Vegas Script.) Locked
Thread Options
Jul 20 2022 Anchor

Hello ppl.

I've been modding for a while but only recently got into scripting. As my first script I chose a custom holographic follower I made for someone. With what I read in Nexus tutorials and analyzing other scripts I thought I had a decent shot, but it won't even save. I'd appreciate a look from a veteran modder.

What I want from the script is simply to summon the hologram upon equipping a certain piece of armor, and dismiss it when I unequip the latter. To that end I wrote this:

ScriptName 00VKholosummon

Begin OnEquip PlayerRef
	
	00VKAliciaHoloREF.enable
	00VKAliciaHoloREF.moveto playerRef
	00VKAliciaHoloREF.AddToFaction FollowerFaction 1
	00VKAliciaHoloREF.SetPlayerTeammate 1
	00VKAliciaHoloREF.SetFactionRank TeammateFaction 1
	00VKAliciaHoloREF.SetIgnoreFriendlyHits 1

End

Begin OnUnequip PlayerRef

	00VKAliciaHoloREF.disable

End

I have tried both Player and PlayerRef, ScriptName and scn, all with no luck. So yeah, it's very simple, but I have to start somewhere. Any shared wisdom would be appreciated. I'm green as grass on this.

I'm loading the geck with NVSE and using the latest extended geck mod. Both features work well and I have been able to save simple scripts with no content. The holo reference has been succesfully created and placed in the game world too.

Edited by: vaanknight

Jul 21 2022 Anchor

-Glad to hear that New Vegas Script Extender (NVSE) is working so well.

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.