zdanman Posted February 18, 2012 Share Posted February 18, 2012 (edited) The only events that seems to fire when using a horse is OnActivate when the player mounts and dismounts....But I need to determine if they are mounted or dismounted....I tried to set a Property to true/false each time OnActivate is called but that is buggy because OnActivate is sometimes called multiple times when dismounting.... Any ideas? Edited February 18, 2012 by zdanman Link to comment Share on other sites More sharing options...
Perked Posted February 18, 2012 Share Posted February 18, 2012 (edited) You need the condition function, IsRidingHorse http://www.creationkit.com/IsRidingHorse (The wiki page is currently blank, but the function is just a simple one that returns a boolean) Edited February 18, 2012 by Perked Link to comment Share on other sites More sharing options...
porroone Posted February 18, 2012 Share Posted February 18, 2012 You can use states to avoid that from happening basically would look something like this. auto State Mount Event OnActivate() Debug.MessageBox("mounted") GoToState("riding") endEvent endState State riding Event OnActivate() Debug.Messagebox("dismount") GoToState("Mount") endEvent endState This way OnActivate should only be called once while dismounting. Link to comment Share on other sites More sharing options...
zdanman Posted February 18, 2012 Author Share Posted February 18, 2012 @Perked - Thanks for the reply but when I compile..... "IsRidingHorse() is not a function or does not exist" I tried Game.IsRidingHorse() and playerRef.IsRidingHorse() Both yield the same results. Link to comment Share on other sites More sharing options...
zdanman Posted February 18, 2012 Author Share Posted February 18, 2012 Thanks poroone.... I have created the following mod thanks to you guys..... First Person Horse Riding Link to comment Share on other sites More sharing options...
porroone Posted February 18, 2012 Share Posted February 18, 2012 Interesting mod, could you tell me if riding the horse in first person returns the angle x ? Link to comment Share on other sites More sharing options...
zdanman Posted February 19, 2012 Author Share Posted February 19, 2012 returns the angle x? Link to comment Share on other sites More sharing options...
Recommended Posts