question-circle Variable for TeleportTrigger speed

  • Weather
  • Weather's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
  • Posts: 483
  • Thank you received: 262
06 Nov 2015 21:49 #1
This question is for a member of the Platinum Team, or anyone who has access to the .cs files for MBP.
I would like to have teleport triggers in a level I am making teleport the marble as soon as it enters it.
I am guessing this is possible if you make a dynamic field for it, but I do not know what the name of the variable (that says how long to wait before teleporting the marble) is.
If someone could tell me I'd appreciate it!

Please Log in or Create an account to join the conversation.

  • HiGuy
  • HiGuy's Avatar
  • Offline
  • Lead Developer
  • Lead Developer
  • PQ Developer Emeritus
  • Posts: 1333
  • Thank you received: 604
06 Nov 2015 22:14 #2
In fact, such a field does exist. Its name is "delay" and you can make it 0 to have instant teleporters.

This signature is real code
Code:
function clientcmd12dothepq() { commandToClient(LocalClientConnection, '34onthedancefloor'); }
The following user(s) said Thank You: Weather

Please Log in or Create an account to join the conversation.

  • Ralph
  • Ralph's Avatar
  • Offline
  • Senior Marbler
  • Senior Marbler
  • Matan's Fervent Fan
  • Posts: 846
  • Thank you received: 136
08 Nov 2015 07:35 #3
Yes, and increasing the delay's value will make the teleport process last longer, you guessed it.

You forget a thousand things everyday. Make sure Marble Blast isn't one of 'em.
Instagram : ralphfrommb

Please Log in or Create an account to join the conversation.

Moderators: Doomblah
Time to create page: 0.838 seconds
We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.