Hello,
I'm trying to make it so when someone 'uses' a hitching post in my PW, it will dismount them from the horse they're currently riding. Theoretically, this will also be used to fix instances where a PC gets stuck on a horse and needs to get off. However, all my attempts to do so have resulted in either nothing happening to my mounted PC or an error in compiling. This is what I currently have for the script:
#include "x3_inc_horse"
void main()
{
object oPC=GetLastUsedBy();
HorseInstantDismount(oPC);
}
Trying to use just plain "HorseDismount" results in the compiler error DECLARATION DOES NOT MATCH PARAMETERS
Any help is appreciated. Thanks!
Modifié par Zorpheus, 02 octobre 2010 - 07:01 .