Jump to content

Factions modding


rainman400

Recommended Posts

So I am facing some real weird problems in the GECK. Let me outline what I am trying to do.

 

Basically, I have made 2 factions. I need a count of the number of people dead in the factions to progress with the quest. More precisely, if either of the factions is annihilated, the next stage of the quest starts.

 

There are things that I have looked into:

 

1) Using global variables: For some reason, I can set the global variable that I defined in the Gameplay->Global menu, but I cannot use the value stored in it, nor can I increment in any way. I was trying to do this by

 

set globalVar to globalVar + 1

 

I also tried setting a local variable to the global variable, that didn't work either.

 

2) I tried using Quest Variables, that is , I declared a couple of variables in a script and attached it to the quest. Then, I tried referring to those variables in another script using QuestID.VarName. But that did not work.

 

3) I realize that the GetDeadCount works for types only, is there anyway I can make it work for factions. I want all the members of the faction to look different, so I cannot have the same base actor for all the faction members.

 

4) I tried the ActorID.GetDead as well, but somehow the script refuses to save.

 

Any help would be highly appreciated. Also, if there is any other way that I can tackle the above scenario, I would be happy to learn.

 

Thanks in advance !

Link to comment
Share on other sites

  • Recently Browsing   0 members

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