Author Topic: Event cooldown on spawn  (Read 744 times)

Im trying to make some event happen right after spawn and there is a cooldown of about 3 seconds.

There is an RTB pref for this but it does not seem to do anything.

Do I need to restart my server? the text is too long to see if it has a "*" meaning I need to restart the server.

It must be ON TOUCH!


i know for onplayertouch you can edit with a server addon on RTB, something by spaceguy i remember, i'll go look for the link

although, my problem is for onactivate, which it doesn't work for

Okay an interesting discovery.

I did the same thing with a simple center print (on a 1x2 plate and on a spawn point) and it seems that the simple center print will work.

Is there some sort of delay that VCE has put in as a safeguard for this stuff (onPlayerTouch)?

There is no delay on the events. Just to let people know.

Code: [Select]
if(%client.blockVCE[getBrickGroupFromObject(%brick).bl_id] == true || ((isObject(%client.player) && getSimTime()-%client.player.spawnTime < 5000)))
{
return;
}
Found it. Is there any way I can make an RTB pref?

VCE has no safeguard on anything but itself i think

and, i think that the addon i was talking about might've been on RTB2, and for some reason i can't find it in addons although i know that i have it