Jump to content

Help with Blades quest mod (Newbie here!)


observantt

Recommended Posts

Hey, guys! First of all, I'm new to modding and I'm still figuring things out, so I apologize for any dumb/newbie questions here.

 

Second, I´m not a native English speaker, so I´ll try my best with my writing skills in this post and hope it all makes sense. ;)

 

Third, this is a quest mod. I'm not sure if this is the right place for this kind of question (let me know if it ain't so).

 

 

 

Well, here´s the deal: I'm working on my second mod, which is basically a quest mod that sends a specific Blade from Skyhaven Temple to a defined location on the map.

 

The problem is that I can't figure out which command line picks up a specific Blade (say, the second Blade you've recruited) and tracks down its reference/Alias so it can be moved around.

 

I've looked through the source codes from FreeFormSkyhavenTempleA and FreeFormSkyhavenTempleB quests ("Blades recruiting" & "Blades dragon hunting" vanilla quests, respectively) and found out this: FreeFormSkyhavenTempleB has a line of code that apparentely creates a reference to each of the Blades defined in FreeFormSkyhavenTempleA, so the game will know which specific followers go dragon hunting.

 

I've tried to replicate this on my quest without success.

 

Here's the original line (from FreeFormSkyhavenTempleB):

 

Alias_Blade01.ForceRefTo(Blade01A.GetActorRef())
Alias_Blade02.ForceRefTo(Blade02A.GetActorRef())
Alias_Blade03.ForceRefTo(Blade03A.GetActorRef())

 

The line codes that move the Blades to the DragonLair are these, I think:

 

If Alias_Blade01.GetActorRef().IsInFaction(CurrentFollowerFaction) == 0
 Alias_Blade01.GetActorRef().MoveTo(Alias_LocationEdgeMarker.GetRef())
EndIf

If Alias_Blade02.GetActorRef().IsInFaction(CurrentFollowerFaction) == 0
 Alias_Blade02.GetActorRef().MoveTo(Alias_LocationEdgeMarker.GetRef())
EndIf

If Alias_Blade03.GetActorRef().IsInFaction(CurrentFollowerFaction) == 0
 Alias_Blade03.GetActorRef().MoveTo(Alias_LocationEdgeMarker.GetRef())
EndIf

 

---

 

I've created an Alias to Blade02 inside my quest and made an External Alias Reference to FreeFormSkyhaveTempleA's Blade02 (the quest in which the Blades are defined by the player). Problem is that the compiler crashes 'cause there's no reference set to Blade02A. Adding a Propriety to the Script called "Blade02A" doesn't work either. I've tried this:

 

Edit Proprieties -> Add Propriety -> Blade02A -> RefAlias, Pick Quest (FreeformSkyhavenTempleA), Pick Alias (Blade02)

 

 

 

Do you have any idea what's missing? Am I doing something wrong?

 

Last, but not least: Is there a better solution to achieve what I want?

 

 

 

 

 

I'll REALLY appreciate any help. ;)

 

Thank you all!

Edited by observantt
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...