Aller au contenu

Photo

Force PC to use specific character


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

#1
Moonships

Moonships
  • Members
  • 24 messages
In a new module(stand alone) is it possible to force the player chracter to use a pre-created campaign chracter?  For example Leliana's song forces the PC to play Leliana. 

So I basically want to pre make the character the PC will play.  I've searched everywhere, but nothing comes up.

:)

#2
Sunjammer

Sunjammer
  • Members
  • 926 messages
Challseus posted this a while back which should walk you through it.

#3
Moonships

Moonships
  • Members
  • 24 messages
Thank you thats perfect. Works! :) Now the only issue I'm having is setting specific attribute values, abilities, and skills

#4
Mengtzu

Mengtzu
  • Members
  • 258 messages
You can set attribute values with SetCreatureProperty():



SetCreatureProperty(oHero, PROPERTY_ATTRIBUTE_STRENGTH, IntToFloat(38));



Skills, talents, spells etc are all handled by AddAbility():



AddAbility(oHero, ABILITY_SKILL_COMBAT_TRAINING_1);



The constants pane in the script window should have everything you need.

#5
Moonships

Moonships
  • Members
  • 24 messages
Ok excellent! I didn't notice the 4 tiny buttons on that pane lol >.<



Thanks for your help :)