Author Topic: Some command ideas  (Read 1091 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
Some command ideas
« on: October 17, 2018, 07:45:51 AM »
Some good command ideas
Code: [Select]
stop command prompt
temp var (ID) = (Value)
The first will stop the command prompt being executed where that command is
for example:
Code: [Select]
if area var 1 = 1
{
+Yay!
stop command prompt
}
if area var 2 = 12
{
// etc. etc. etc.
}
If area var 1 is 1, the game will show yay and then the command prompt will stop as if it has ended, even the area var 2 was 12, inside will not be executed unless the up conditions were
not met.

Temp var are unique for each command prompt running at the same time and will reset when the command prompt ends.
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: Some command ideas
« Reply #1 on: October 17, 2018, 06:10:40 PM »
This would have fixed a problem with ASM I had...