Author Topic: More placeholder and command ideas!  (Read 1058 times)

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
More placeholder and command ideas!
« on: October 12, 2018, 04:26:19 PM »
Hello, I'm here to show my new placeholder ideas, hope you like them.
[random number from (Value) to (Value)] The value will be a random number between the first and the second. If the command is
game var 1 = [random number from 1 to 10]
the game var will be setted to any number between 1 and 10
[player (1 or 2) x] Will get the select player X coordinate, you can put [player (1 or 2) y] to get the y coordinate of that player

This will be awesome for example, to spawn things at coordinates, mainly relative to the player.
Code: [Select]
game var 1 = [player 1 x]
game var 2 = [player 1 y]
game var 2 - 32
[b]coord spawn block 1, [game var 1], [game var 2]
This will spawn the block with ID 1 32 pixels below the player!

<area name>(Text) This command will change the area name to the selected text
[area name] This placeholder will be used for texts, and will return the name of the area you're currently on!
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: More placeholder and command ideas!
« Reply #1 on: October 12, 2018, 05:50:59 PM »
Hmm... Complicated... I do agree for a way to spawn objects like that. At least that made sense.