Platform Builder Forums

Help and Support => Tutorials => Topic started by: CGM on August 27, 2019, 11:17:18 PM

Title: Easy-access pre-written commands
Post by: CGM on August 27, 2019, 11:17:18 PM
Do you ever use commands that take forever to write? Do you use the same commands a lot? Well, there is a trick to easily call a list of commands...Easy.
Step #1. Go to Game Setup. You can do this by pressing P from any editor, or clicking on the menu button beneath the test button. Go to timelines.
Step #2. Create a new timeline and set the position to 0:0.1
Step #3. Enter your commands
The next time you need these same commands pulled up, just type in timeline = (ID). The (ID) just means whatever the ID is. Find out about ID's here: https://www.theplatformbuilder.com/Command-Prompt/#FindingID
Title: Re: Easy-access pre-written commands
Post by: Antikore on August 28, 2019, 09:35:17 AM
You can use 0:0.1 or sometimes will work with 0:0.0
Title: Re: Easy-access pre-written commands
Post by: War on August 28, 2019, 02:25:46 PM
Do you ever use commands that take forever to write? Do you use the same commands a lot? Well, there is a trick to easily call a list of commands...Easy.
Step #1. Go to Game Setup. You can do this by pressing P from any editor, or clicking on the menu button beneath the test button. Go to timelines.
Step #2. Create a new timeline and set the position to 0:0.1
Step #3. Enter your commands
The next time you need these same commands pulled up, just type in timeline = (ID). The (ID) just means whatever the ID is. Find out about ID's here: https://www.theplatformbuilder.com/Command-Prompt/#FindingID
(https://i.ibb.co/YjJp6t0/hqdefault.jpg) (https://imgbb.com/)
Title: Re: Easy-access pre-written commands
Post by: CGM on August 28, 2019, 04:42:47 PM
Oh, and I credit Antikore for this idea. Project GB gave me the inspiration. I noticed Antikore used this same formula many times in GB.
Title: Re: Easy-access pre-written commands
Post by: Antikore on August 28, 2019, 05:04:37 PM
I think I use it very commonly
Title: Re: Easy-access pre-written commands
Post by: CGM on August 28, 2019, 05:05:58 PM
Ah.
Title: Re: Easy-access pre-written commands
Post by: War on August 30, 2019, 10:53:14 AM
I use it very commonly
Me :
Antikore :

(https://i.ibb.co/DMPbdpS/tenor.gif) (https://imgbb.com/)