Jump to content

Setting script variables


ar13

Recommended Posts

Posted

In my most recent update to Mika the Sniper, I moved her hired and fired variables to her own script, out of the FollowersQuestSCRIPT. This has apparently caused some amount of woe among my users. I checked the wiki but I don't see how to set a scriptvariable from the console.

 

At this point I think my best option is just to asssume that since the mod is enabled, the user wants her as a follower and set all her variables every time she's talked to. Is this my better option, or are there batch commands to set script vars?

 

I could really use the help of someone experienced for a bit of advice, or at least a pointer to what I should be looking at. I would really appreciate a bit of peer review.

Posted

You can only set variables in a quest script from the console. Do to this you would type in

 

 Set QuestID.VariableName to #

 

HOWEVER, It might work if you replace QuestID with ActorID. I don't know as I've never tested this. It's the only method I can think of that would work.

  • 1 month later...
Posted

Hey Lex.

 

You can set script variables from the console like the last user pointed out.

 

I am almost 100% sure you can use the Actor ID or just click on the NPC and use:

 

Set VariableName to #

 

You can also make a Batch file to set variables from the console.

 

You add them to a TXT file in FO3 main folder and you enter in the console something like:

 

Bat (Name)

 

Don't include .Txt at the end ofc or it won't work.

 

Hope this helps.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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