[not possible topic dead]
Does anyone know how to make an object mounted to a bot play the animations for walking when moving forward etc?
Code
package gravPack
...
{
function Player::setActionThread(%this,%name, %hold, %fsp)
{
echo(%name);
%mount = %this.getMountedObject(0);
if(%this.dataBlock $= PlayerD && isObject(%this.getMountedObject(0)))
{
%mount.setActionThread(%this,%name, %hold, %fsp);
echo("poo");
}
else
parent::setActionThread(%this,%name, %hold, %fsp);
}
}; activatePackage(gravPack);
...
I have also tried playthread(....)
Edit:
I mean when the bot walks forwards the player mounted to the bot plays the animation rather than the bot.
I do unconventional things with bots, we can just leave it at that.