Checking for Enemy self command pressing?

Started by Sheng Long, October 13, 2013, 02:57:43 AM

Previous topic - Next topic

Sheng Long

Is there a way to tell a character if the enemy is pressing a certain button while they are in their own states?

And before you say, I have already tried this.
trigger1 = EnemyNear, Command = "start"
trigger2 = EnemyNear, Command = "hold_s"


this does not work. I do not want to check for when they are in certain states.

"You must defeat my flaming
dragon punch to stand a chance."

Bastard Mami

afaik, commands are converted toa  numbered list so if "pressS" is your 30th command, it when you check for "pressS" it will check if the 30th command is activated, so, if you check te enemy's command, it will check if their 30th command is activated, so the only way for those kind of codes to work correctly is having all characters have the exact same commands in the exact same order. dunno if this chagned since 1.0

Sheng Long

So, let me get this strait. Let's use KFM as an example.

KFM's first command starting from the top is "TripleKFPalm", and a second "TripleKFPalm". So is the first one #1 and #2, while the next two "SmashKFUpper" moves are commands #3 and #4? Or does one "TripleKFPalm" count as 1, and then the next "SmashKFUpper" count as command #2?

"You must defeat my flaming
dragon punch to stand a chance."

Bastard Mami

pretty sure it's 1,2 then 3,4 ; still should not be important as it is very difficult to do it without using the same cmd file.