Since character creation modifies both player 1 and player 2 at the same time, it looks like it's not sending a player reference back when completed.

Try checking for
Code
IF
CharacterCreationFinished(CHARACTER_NULL)
THEN
CharacterTeleportPartyToTrigger(TRIGGER_TPPoint,"");

For the record, using the mirror to change appearance on one character uses CharacterAddToCharacterCreation as well, and when this finishes it sends a character reference for CharacterCreationFinished. You can find the code for this in CYS_General

Code
IF
//using the mirror
CharacterUsedItem(_Player,ITEM_HOM_CharCreation_Mirror)
AND
//making sure the user is a playable character
_Player.isPlayer()
AND
//making sure the user is not a companion
NOT DB_DefinedCompanions(_Player)
AND
//adding it to the appearance changer. 
//note that this has a 2 instead of a 0 as second parameter
CharacterAddToCharacterCreation(_Player,2,1)
THEN
//set a variable indicating the player is respeccing
DB_Illusionist(_Player);


IF
//finished
CharacterCreationFinished(_Player)
AND
//check if the earlier variable is set to prevent conflicts
//with other CharacterCreationfinished events
DB_Illusionist(_Player)
THEN
//remove player from the variable, again to prevent conflicts
NOT DB_Illusionist(_Player);
//teleport the player
CharacterTeleportToTrigger(_Player,TRIGGER_HOM_PointCreationMirrorDest,"");


Last edited by ck06; 29/07/14 03:42 PM.

-ck06