Platform Builder Forums

Main => Suggestions => Topic started by: CGM on July 27, 2018, 10:06:00 PM

Title: 5.4 new commands (my ideas)
Post by: CGM on July 27, 2018, 10:06:00 PM
Simple "replace" commands. Like, "Replace block(Block ID), with item=(Item ID)" something like that. And NPC to Block, projectile to enemy, enemy to projectile, npc to projectile. You get the idea. These commands can be used for many things.
Title: Re: 5.4 new commands (my ideas)
Post by: Alley on September 01, 2018, 06:46:52 PM
I have thought about a "self" argument. :) This is not a command that much than a part of it but sometimes you may want to affect only that object which caused the called effect.
Title: Re: 5.4 new commands (my ideas)
Post by: CGM on September 01, 2018, 07:48:15 PM
Hmm... I'm not familiar with this concept...
Title: Re: 5.4 new commands (my ideas)
Post by: Alley on September 01, 2018, 10:23:01 PM
For example, you want to make 5 identical enemies who change to another enemy when being hurt. You can add a command "change enemy 1, 58" but when you are testing it and hurt one enemy then other enemies change too although they weren't hit and this is what you didn't mean. Right?  ::)  We can use the "Change Enemy" option instead of a command but maybe we also would like to apply another effect when an enemy gets hurt.
If I would be able to add a command "change enemy self, 58" then only one enemy that got kicked changes and other enemies would not change. :)
Title: Re: 5.4 new commands (my ideas)
Post by: CGM on September 01, 2018, 10:29:37 PM
Hmm... I think I get it. I'm just not a coder, and so I don't know much. All I know about coding, is CP in PB.