dragonturtle Posted July 2, 2006 Share Posted July 2, 2006 Hi all, in K1, during the moment when the PC multiclasses to a Jedi, I would like to create a level 1 copy of the PC to become the new player character, then destroy the original PC. My goal is to "restart" the PC as a Jedi. However, I can't use the CreateObject function to create a player character. In nwscript.nss: // 243: Create an object of the specified type at lLocation. // - nObjectType: OBJECT_TYPE_ITEM, OBJECT_TYPE_CREATURE, OBJECT_TYPE_PLACEABLE, // OBJECT_TYPE_STORE // - sTemplate // - lLocation // - bUseAppearAnimation // Waypoints can now also be created using the CreateObject function. // nObjectType is: OBJECT_TYPE_WAYPOINT // sTemplate will be the tag of the waypoint // lLocation is where the waypoint will be placed // bUseAppearAnimation is ignored object CreateObject(int nObjectType, string sTemplate, location lLocation, int bUseAppearAnimation=FALSE); Is there any possibility of creating a playable character with this function? I would need something viable to put in sTemplate, but what? Link to comment Share on other sites More sharing options...
Lit Ridl Posted July 3, 2006 Share Posted July 3, 2006 Sounds unreal... But looks like there is useful function that has name something like SwithPC . You may add new character in party table and enter in this function his ID. And such for the full game. You may attach this ti dialog of your spawned PC. But in case you wrote it it is impossible. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.