Author Topic: Object mounting events  (Read 4268 times)


Admin only silly.
ya :0


ALSO you could make a replacebricks event, where it clears the bricks and loads new ones (All evented)


^^^^
Will be more useful, when Kaph releases his TTT mod and I host a server I want to switch maps every once in a while. (For a TTT feel and not to get repetitive)
« Last Edit: May 05, 2012, 02:43:49 AM by Lamebro1 »

Quote
Due to engine limitations, you cannot mount a vehicle to yourself. Don't ask for this.
Aww, that explains it.



THIS EVENT CAN ONLY BE TRIGGERED BY PLAYERS. YOU CANNOT MOUNT A BOT TO A BOT WITH THIS.
IF ANYONE KNOWS TO HOW TO DO THAT, PLEASE, TELL ME.


I've done it via console commands on my server, It's the same way as you di it with players.
[bot].mountobject([object], [slot]);

Edit: this is due to the fact the bot acutally inherits the player class so bots have all the same functions as player or perhaps more
« Last Edit: May 05, 2012, 10:09:48 AM by zmaster »

Due to engine limitations, you cannot mount a vehicle to yourself. Don't ask for this.
I thought jetz mounted the mech to his head in pecons server tho...

Aww, that explains it.

I've done it via console commands on my server, It's the same way as you di it with players.
[bot].mountobject([object], [slot]);

Edit: this is due to the fact the bot acutally inherits the player class so bots have all the same functions as player or perhaps more
oh it's perfectly possible, i just need to get the bot object. i can only get the client object that triggered the events.
I thought jetz mounted the mech to his head in pecons server tho...
silly ip, the mech is a bot

yeah this is screwy.

I have one brick set up so it throws a bot to touch a bicycle spawn of a bot.

The bicycle spawn's event is onbottouch -> self -> objmounttoself (0).

You might think that the tank turret mounts to the bicycle at mount 0?
No.
The bicycle mounts to me no matter where I am.

EDIT: onbottouch doesn't work. When I do onbottouch -> self -> selfmounttoobj (0) it mounts me to the bicycle no matter where I am. The tank turret somehow makes me mount to the bicycle. :/

And when I have onbotactivated -> self -> selfmounttoobj (0), when I click the bot I mount to the bot. It doesn't mount to me.
objmounttoself does the same thing as ^.
« Last Edit: May 05, 2012, 04:08:27 PM by 300spartan »

I told you in the OP it doesn't support mounting bots to other objects, unless it's selfMountToObj!

Until someone tells me a way to get the OBJECT that triggered the event instead of the CLIENT.
« Last Edit: May 05, 2012, 04:10:53 PM by Lugnut1206 »

I told you in the OP it doesn't support mounting bots to other objects, unless it's selfMountToObj!

Until someone tells me a way to get the OBJECT that triggered the event instead of the CLIENT.
k. sorry.

but still I can't do the onbotactivated and make the bot mount to me. and the bot will trigger the outcome to the client.

Great mod, downloading.