2

« **on:** March 19, 2018, 03:48:28 AM »
How do you manually mount a player or a bot to a wheeled vehicle? I tried...

`WheeledVehicle::mountObject(%this, %player, %mountPoint);`

// E.g. 28151.mountVehicles(findClientByName("SadBlobfish).player, 0);

`Player::mountVehicles(%this, %vehicle, %mountPoint);`

// E.g. findClientByName("SadBlobfish").player.mountVehicles(28151, 0);

and neither worked. It is possible I am using these functions incorrectly. I was also going to try to invoke *Armor::onMount(%this, %obj, %mount, %node)*, but I'm not sure how to properly call it, and I figured this function is probably triggered by the proper mounting function.

Here is the trace of a player colliding with and entering a vehicle if it helps. Perhaps someone will see something I didn't:

`Entering WheeledVehicleData::onCollision(702, 17058, 15380, 0.000048 0.000118 -7.521720, 7.521720)`

Entering findClientByBL_ID(6835)

Leaving findClientByBL_ID() - return 13360

Entering getTrustLevel(15380, 17058)

Entering getBrickGroupFromObject(15380)

Leaving getBrickGroupFromObject() - return 13344

Entering getBrickGroupFromObject(17058)

Leaving getBrickGroupFromObject() - return 13344

Leaving getTrustLevel() - return 3

Entering miniGameCstar fishe(15380, 17058)

Entering getMiniGameFromObject(15380)

Entering getBL_IDFromObject(15380)

Entering getBrickGroupFromObject(15380)

Leaving getBrickGroupFromObject() - return 13344

Leaving getBL_IDFromObject() - return 6835

Leaving getMiniGameFromObject() - return -1

Entering getMiniGameFromObject(17058)

Entering SimGroup::getClient(13344)

Leaving SimGroup::getClient() - return 13360

Entering SimGroup::getClient(13344)

Leaving SimGroup::getClient() - return 13360

Entering getBL_IDFromObject(17058)

Entering getBrickGroupFromObject(17058)

Leaving getBrickGroupFromObject() - return 13344

Leaving getBL_IDFromObject() - return 6835

Leaving getMiniGameFromObject() - return -1

Leaving miniGameCstar fishe() - return -1

Entering miniGameCstar fishe(15380, 17058)

Entering getMiniGameFromObject(15380)

Entering getBL_IDFromObject(15380)

Entering getBrickGroupFromObject(15380)

Leaving getBrickGroupFromObject() - return 13344

Leaving getBL_IDFromObject() - return 6835

Leaving getMiniGameFromObject() - return -1

Entering getMiniGameFromObject(17058)

Entering SimGroup::getClient(13344)

Leaving SimGroup::getClient() - return 13360

Entering SimGroup::getClient(13344)

Leaving SimGroup::getClient() - return 13360

Entering getBL_IDFromObject(17058)

Entering getBrickGroupFromObject(17058)

Leaving getBrickGroupFromObject() - return 13344

Leaving getBL_IDFromObject() - return 6835

Leaving getMiniGameFromObject() - return -1

Leaving miniGameCstar fishe() - return -1

Entering miniGameCanDamage(15380, 17058)

Entering getMiniGameFromObject(15380)

Entering getBL_IDFromObject(15380)

Entering getBrickGroupFromObject(15380)

Leaving getBrickGroupFromObject() - return 13344

Leaving getBL_IDFromObject() - return 6835

Leaving getMiniGameFromObject() - return -1

Entering getMiniGameFromObject(17058)

Entering SimGroup::getClient(13344)

Leaving SimGroup::getClient() - return 13360

Entering SimGroup::getClient(13344)

Leaving SimGroup::getClient() - return 13360

Entering getBL_IDFromObject(17058)

Entering getBrickGroupFromObject(17058)

Leaving getBrickGroupFromObject() - return 13344

Leaving getBL_IDFromObject() - return 6835

Leaving getMiniGameFromObject() - return -1

Leaving miniGameCanDamage() - return -1

Entering [PirateCannonPackage]Armor::onMount(38, 15380, 17058, 0)

Entering [BotHolePackage]Armor::onMount(38, 15380, 17058, 0)

Entering [TankPackage]Armor::onMount(38, 15380, 17058, 0)

Entering Armor::onMount(38, 15380, 17058, 0)

Entering ServerPlay3D(playerMountSound, -14.7808 9.38061 1.48565)

Leaving ServerPlay3D() - return

Leaving Armor::onMount() - return

Leaving [TankPackage]Armor::onMount() - return

Leaving [BotHolePackage]Armor::onMount() - return 17058

Leaving [PirateCannonPackage]Armor::onMount() - return 17058

Leaving WheeledVehicleData::onCollision() - return 17058