SetCharacterView(EGO,5); //will set character 'EGO' to view 5
you can use this to set all the characters views
just remember "ReleaseCharacterView(EGO);" will return the character to its original view, if it needs to return to a different view just use the SetCharacterView again
It goes in the script where you want it to change.
Note: it's probably a good idea to keep track of which view you are in using global ints, as you may only be able to interact with certain objects/hotspots in a certain view, or if you run an animation that can occur in different views.
eg. If you press a button when you have armor on, the animation might use the characters normal view for pressing the button, instead of the armor view. (note: you'd have to make a view that contains the animation in each of the characters costumes)
eg2.
SetGlobalInt(10,0); //unarmored (set to this when he/she returns to normal view)
SetGlobalInt(10,1); //battle gear (set to this when he/she is set to battle gear view)
SetGlobalInt(10,2); // tournament gear
SetGlobalInt(10,3); //monk's robe
etc
Hope that helps
~Tim
you can use this to set all the characters views
just remember "ReleaseCharacterView(EGO);" will return the character to its original view, if it needs to return to a different view just use the SetCharacterView again
It goes in the script where you want it to change.
Note: it's probably a good idea to keep track of which view you are in using global ints, as you may only be able to interact with certain objects/hotspots in a certain view, or if you run an animation that can occur in different views.
eg. If you press a button when you have armor on, the animation might use the characters normal view for pressing the button, instead of the armor view. (note: you'd have to make a view that contains the animation in each of the characters costumes)
eg2.
SetGlobalInt(10,0); //unarmored (set to this when he/she returns to normal view)
SetGlobalInt(10,1); //battle gear (set to this when he/she is set to battle gear view)
SetGlobalInt(10,2); // tournament gear
SetGlobalInt(10,3); //monk's robe
etc
Hope that helps
~Tim