Hello! This is my first script, i've just copied Horse.cs and changed some parameters. I'd like to buff rider's magery when mount the sphinx and obviously lose this bonus when dismounted. I have tried to override the OnDoubleClick method in order to buff the rider, but i can't figured it out how to manage the dismount. Any suggestion? Thanks for your help!

Edit: Here's my code: MountableSphinx - Pastebin.com
 
Last edited:
Have a look at the following:


Not sure it will be compatible with what you are doing, but it might give you some ideas.
 
Back