Good morning to everybody! I already apologize for any mistake made during my first post.
Basically the problem I have is the one mentioned in the title. I need to let the engine know that Actor is the one attacking and that Enemy is taking the hit.
My idea is the following: The same attack has 4 different animations prepared together with some conditionals and depending on the aforementioned positions, one of these would be executed.
I tried several but they all resulted in some error. It should be noted that programming languages are beyond my understanding, so I only tried things that I found on the Internet.
I must also say that I am using the YEP_X_ActSeqPack1 plugin for a few things, including the use of conditionals in skills.
My idea of the code goes something like this:
-------------------------------------------------
if user [Check Actor]
target [Check Enemy]
animation 1: target
else if user [Check Actor]
target [Check Enemy]
animation 2: target
else if user [Check Actor]
target [Check Enemy]
animation 3: target
else if user [Check Actor]
target [Check Enemy]
animation 4: target
end
-------------------------------------------------
It most likely doesn't make sense, but it's the structure I got with the little info. that I have.
And that would be all for now. If any programmer has this info. and can you guide me a little I would really appreciate it. Any questions or extra information I will answer as soon as possible.
(I apologize for the English of Google Translate and all the spelling and syntactic errors it causes. I am did not master English as I would like)
Basically the problem I have is the one mentioned in the title. I need to let the engine know that Actor is the one attacking and that Enemy is taking the hit.
My idea is the following: The same attack has 4 different animations prepared together with some conditionals and depending on the aforementioned positions, one of these would be executed.
I tried several but they all resulted in some error. It should be noted that programming languages are beyond my understanding, so I only tried things that I found on the Internet.
I must also say that I am using the YEP_X_ActSeqPack1 plugin for a few things, including the use of conditionals in skills.
My idea of the code goes something like this:
-------------------------------------------------
if user [Check Actor]
target [Check Enemy]
animation 1: target
else if user [Check Actor]
target [Check Enemy]
animation 2: target
else if user [Check Actor]
target [Check Enemy]
animation 3: target
else if user [Check Actor]
target [Check Enemy]
animation 4: target
end
-------------------------------------------------
It most likely doesn't make sense, but it's the structure I got with the little info. that I have.
And that would be all for now. If any programmer has this info. and can you guide me a little I would really appreciate it. Any questions or extra information I will answer as soon as possible.
(I apologize for the English of Google Translate and all the spelling and syntactic errors it causes. I am did not master English as I would like)