Aller au contenu

Photo

Creating Bluff/Persuade checks in Toolset


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
Bassix

Bassix
  • Members
  • 33 messages

Hi all,

At the moment I'm working on a module with the Aurora Toolset. So far it's all going great, but I can't figure out how to script a bluff or persuade check. Does someone have a link to a good tutorial, or could they explain it to me? That would be a big help!

Thanks in advance!



#2
henesua

henesua
  • Members
  • 3 855 messages

The function GetIsSkillSuccessful()  would be the key function call in your script.

 

I assume you are working on a conversation option for a bluff check. So you need to write a "starting conditional" script, and apply it to a conversation option in you conversation editor in the "Actions Taken" tab.

 

Check out this tutorial on making a quest. Its got the pieces you need.

 

here is a rough example of the script. you'll want to change the skill and dc depending on the situation.

When you save these scripts use a name that says what it is such as: ck_bluff_15

int StartingConditional()
{
  object pc    = GetPCSpeaker();
  int skill    = SKILL_BLUFF; // this is a constant integer for the skill
                              // see: http://www.nwnlexicon.com/index.php?title=Skill
  int skill_dc = 15;
  return GetIsSkillSuccessful( pc, skill, skill_dc);
}


#3
AndrueD

AndrueD
  • Members
  • 134 messages

Both these @neverwintervault.org shud help

 

The Guide to Building Volume I – The Aurora Toolset Manual

 

LS-TK Script Generator (Lilac Soul's Script Generator, updated for NWN 1.69)