vasiD Posted June 24, 2013 Share Posted June 24, 2013 (edited) So, I know it has to be possible as Bethesda did it in the intro (when you walk to the headstone), however I have no clue where to look for that code. Does anyone know either where I can find and analyze that intro code at Helgen or perhaps more to the point how to script controled player character movement?I have an interesting prison mod in mind that has the character taken from their cell to work in region specific locations and I'd rather not just warp them around to really soak in the atmosphere of being a prisoner. Edited June 24, 2013 by vasiD Link to comment Share on other sites More sharing options...
BotOwned Posted June 24, 2013 Share Posted June 24, 2013 (edited) So, I know it has to be possible as Bethesda did it in the intro (when you walk to the headstone), however I have no clue where to look for that code. Does anyone know either where I can find and analyze that intro code at Helgen or perhaps more to the point how to script controled player character movement? I have an interesting prison mod in mind that has the character taken from their cell to work in region specific locations and I'd rather not just warp them around to really soak in the atmosphere of being a prisoner. Scripted movement can be done via the use of the SetPlayerAIDriven which will allow AI packages to be run on the player. EDIT: You could instead of using packages use PathToReference, but either way the player must be set as AI driven. Edited June 24, 2013 by BotOwned Link to comment Share on other sites More sharing options...
vasiD Posted June 24, 2013 Author Share Posted June 24, 2013 So, I know it has to be possible as Bethesda did it in the intro (when you walk to the headstone), however I have no clue where to look for that code. Does anyone know either where I can find and analyze that intro code at Helgen or perhaps more to the point how to script controled player character movement? I have an interesting prison mod in mind that has the character taken from their cell to work in region specific locations and I'd rather not just warp them around to really soak in the atmosphere of being a prisoner. Scripted movement can be done via the use of the SetPlayerAIDriven which will allow AI packages to be run on the player. EDIT: You could instead of using packages use PathToReference, but either way the player must be set as AI driven. Thank you very much, this is exactly what I'm looking for! Link to comment Share on other sites More sharing options...
Recommended Posts