SeraphimKensai Posted April 1, 2019 Share Posted April 1, 2019 Hey folks, hopefully everyone is doing well. I've been busy with work but decided to look at a script idea for causing an actor to dismount their mount. I made a rudimentary script that would check to see if an actor is mounted or not and then dismount them if so, however the I notice the script applies to the mount when I cast the spell even though the projectile clearly hits the actor on top of the mount. That all said, does anyone know a reasonable means to get the actor on a mount, so that way I can store that to be able to run the script on causing that actor to dismount? Thanks as usual. Link to comment Share on other sites More sharing options...
morogoth35 Posted April 2, 2019 Share Posted April 2, 2019 What kind of spell is it? Is it a lightning bolt or what kind of spell? If you could provide your script we could easier help. I suspect that either the horse's hitbox is the problem or maybe you should try and use a condition in the script to check if the target actor is not a horse incase that would help. Link to comment Share on other sites More sharing options...
ReDragon2013 Posted April 2, 2019 Share Posted April 2, 2019 Do you want to know, is player riding? Your posting confused me, Seraphim! IF Game.GetPlayer().GetAnimationVariableBool("bIsRiding") ; player is riding a horse. ELSE ; no riding ENDIF Link to comment Share on other sites More sharing options...
Recommended Posts