Jump to content

Home

Scripting questions...


Revan81790

Recommended Posts

Umm... well, for question 1, I'd need to know which game you're modding and what type of conditional script you need (journal entry, boolean, item, etc.). I can answer #2 though.

 

void main() {
// make main NPC go hostile; replace sir_pwns with your NPC tag
object oNPC=GetObjectByTag("sir_pwns");
ChangeToStandardFaction(oNPC, 1);

// give them kick to make them start attacking you
ExecuteScript("k_ai_master",oNPC,1005);

}

Link to comment
Share on other sites

Umm... well, for question 1, I'd need to know which game you're modding and what type of conditional script you need (journal entry, boolean, item, etc.). I can answer #2 though.

 

void main() {
// make main NPC go hostile; replace sir_pwns with your NPC tag
object oNPC=GetObjectByTag("sir_pwns");
ChangeToStandardFaction(oNPC, 1);

// give them kick to make them start attacking you
ExecuteScript("k_ai_master",oNPC,1005);

}

Thank you for your answer of question 2.

 

As for question 1, the game is KotOR 2, and the conditional would be a journal entry...

Does that sound right?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...