Author Topic: Easy-access pre-written commands  (Read 2743 times)

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Easy-access pre-written commands
« 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

Antikore

  • Developing Mortal Theater at day, developing depression at night.
  • Level 22: Trex
  • *
  • Posts: 2020
  • Enjoying Platform Builder from the very start
    • View Profile
    • PBuilder Resources
Re: Easy-access pre-written commands
« Reply #1 on: August 28, 2019, 09:35:17 AM »
You can use 0:0.1 or sometimes will work with 0:0.0
Sorry because my English is not very good because I'm Spanish ;) :P

War

  • "The top player is here!"
  • Level 20: Nobom
  • *
  • Posts: 1490
    • View Profile
    • My website
Re: Easy-access pre-written commands
« Reply #2 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

Hey, wassup wassup? My name is Warrior555MainsGanon (but just call me War) and I'm the main guy behind Megaman Zero Online and the upcoming Matt's Adventure! I don't speak often here but I'm a very friendly lad so if you wanna talk, don't hesitate!

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Re: Easy-access pre-written commands
« Reply #3 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.

Antikore

  • Developing Mortal Theater at day, developing depression at night.
  • Level 22: Trex
  • *
  • Posts: 2020
  • Enjoying Platform Builder from the very start
    • View Profile
    • PBuilder Resources
Re: Easy-access pre-written commands
« Reply #4 on: August 28, 2019, 05:04:37 PM »
I think I use it very commonly
Sorry because my English is not very good because I'm Spanish ;) :P

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Re: Easy-access pre-written commands
« Reply #5 on: August 28, 2019, 05:05:58 PM »
Ah.

War

  • "The top player is here!"
  • Level 20: Nobom
  • *
  • Posts: 1490
    • View Profile
    • My website
Re: Easy-access pre-written commands
« Reply #6 on: August 30, 2019, 10:53:14 AM »
I use it very commonly
Me :
Antikore :

Hey, wassup wassup? My name is Warrior555MainsGanon (but just call me War) and I'm the main guy behind Megaman Zero Online and the upcoming Matt's Adventure! I don't speak often here but I'm a very friendly lad so if you wanna talk, don't hesitate!