question-circle Variable for TeleportTrigger speed

  • Weather
  • Weather's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
  • Posts: 487
  • Thank you received: 264
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: 1334
  • Thank you received: 605
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: 1.583 seconds