How can I change the view of my ego when he performs a certain action (like dancing or something)? When I try to change the gEgoView global variable inside a function, it doesn't take effect until the character enters a different room after the function is called.
Thank you!