Attack State

L

lluuuze

Guest
gamemaker3.PNG

I received this code error message after watching tutorials my college issued to me. I did take "calarvae_attack();" out and the game loaded however my enemies do not perform the attack animation as they are suppose to. How can I make the enemies attack the player back when approaching?
(Calarvae is the name of the enemy).
 

Simon Gust

Member
You can see by the color of the code not changing at
Code:
calarvae_attack();
That game maker doesn't recognize it as a script.

The solution is to write the name of the script correctly.
 

ceaselessly

Member
More specifically, the script name is capitalized. Game Maker's script editor is case sensitive, so it will not recognize a resource if the case does not match. :)
 
Top