Previous messages can be ignored cause that is (sort of) solved. Meteorites now appear, not exactly like in demo, but that kinda will do.
Instead, i have yet again problems with hitting the player. Please, send help!
First is the meteorite. It refuses to make damage. At all.
This is the code -
This time i have action command that refers to the same common event as gunshot (12). But nothing happens, not even hit animation on player.
Next one is sword. It sort of works, but only one sword appears at the enemy and does damage.
I believe the problem is in event structure, i am doing it wrong, but if i try to put additional code somewhere at the beginning, like this for example -
I am getting the unexpected token error.
And when i am putting it like this:
It works but just a single sword appears at the enemy, rest appear at player's position and do not do damage.
Since each line seems to reffer to individual sword, i tried adding
Target:["P[]"],
at the end of first 3 lines, but it simply does nothing at all. I don't understand why. When i try to put action there i am getting unexpected token errors there as well.
And the last is this one, rainbow spiral -
It refuses to start from the enemy and always starts from the player instead. Also refusing to do damage.
I know i have a wrong target here, but if i change it to the player, the animation does not play at all, and i just instantly receive damage when enemy using this ability. If i remove target entirely it still spawns from the player.
Logically the initial rotation parameter should determine the spawn origin, but if i set
initialRotation:"E[5]",
Nothing changes, it still spawns from the player.