After endless hours looking for it, i can't find a way to add a Character/Creature to my party, in my test module...
All i want to do is to add the party member after some simple conversation. I supose i should do it on a script, that i would link to a conversation Line, but, from the script documentation i found so far at the DA Toolset Wiki none of the functions says anything about adding a party member...
Should i understand that the toolset is for "Solo Mode" campaigns only?
So far, this is what i have:
An area, with that "The Gounlet" scenario where we find andraste's ashes
A Creature, Duncan by the way
A very simple conversation, that goes like this:
Duncan: Do you want me on your team?
Me: (Single Option): Yes!
Duncan: Fine then... <- I have a script linked to this convers. line, but so far i'm not shure what to write in it...
Any help is welcome!!
Thanks.
How can i Add a Party Member?
Débuté par
Dherelv
, nov. 29 2009 11:21
#1
Posté 29 novembre 2009 - 11:21
#2
Posté 29 novembre 2009 - 11:26
From the toolsetWiki:
http://social.biowar...dex.php/How-tos
Not had the chance to use it yet, but should do the job.
Add a follower to the players team:
if(IsPlayer(oCreature)) {
object oFollower = GetObjectByTag("myfollower");
UT_HireFollower(oCreature, oFollower);
}
http://social.biowar...dex.php/How-tos
Not had the chance to use it yet, but should do the job.
Modifié par Tikigod60, 29 novembre 2009 - 11:29 .
#3
Posté 30 novembre 2009 - 12:32
The following code works fine, and uses the recommended wrapper function:
SetGroupId(oConversationOwner, GetGroupId(oPC)); WR_SetFollowerState(oConversationOwner, FOLLOWER_STATE_ACTIVE);Maybe this should be in the scripting forum?
Modifié par Proleric1, 30 novembre 2009 - 12:33 .





Retour en haut






