Jump to content

Home

Need help with a script


Darth_Enix

Recommended Posts

Oks, I was wondering if anyone knew how to make a script for dialogue that would recognize if I were lightside, darkside or neutral, and give me the correct dialogue (for example, a multiple times during the game, Bastila will comment on how you have either remained true to the light, or have fallen to the dark side.

 

And I've noticed a common mistake I make is to not mention what game it's for. So I'm finally remembering to say, I need it for the first game.

Link to comment
Share on other sites

Oks, I was wondering if anyone knew how to make a script for dialogue that would recognize if I were lightside, darkside or neutral, and give me the correct dialogue (for example, a multiple times during the game, Bastila will comment on how you have either remained true to the light, or have fallen to the dark side.

 

And I've noticed a common mistake I make is to not mention what game it's for. So I'm finally remembering to say, I need it for the first game.

 

Those dialog conditional scripts already exist in the standard game resources, so unless you need to check for a very specific alignment I would recommend that you use those scripts instead. No need to reinvent the wheel needlessly.

 

The script k_con_dark returns TRUE if the player is a darksider. There are two other scripts you can use to check how far down the dark path the player is. k_con_darkhigh returns TRUE if the player is very far down the dark path, while k_con_darklow returns TRUE if the player is just a little dark.

 

The corresponding scripts for lightside checks are k_con_light, k_con_lighthigh and k_con_lightlow.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...