Someone in the past here helped me set up my items so that they can have animations by having the user behave differently when using an item on the user or another party member, they provided me with this code:
One of the last molehills in my project currently is that I've come to massively alter the anchors of enemy sprites so that they can be positioned as desired, but this comes with the problem that if a party member is "Charmed/Confused" and attacks a fellow party member they will be massively mispositioned... So my question is if someone would know if there is a word to use to change my attack command so that "if target==actor" for example (if it's possibly even that simple I suppose I should actually try that) the actor would shift to a different coordinate to align with the party member?
if target==user (this line specifically)
animation 351: user
ani wait: 6
animation 353: user
else
animation 351: user
ani wait: 6
animation 352: target
end
animation 351: user
ani wait: 6
animation 353: user
else
animation 351: user
ani wait: 6
animation 352: target
end
One of the last molehills in my project currently is that I've come to massively alter the anchors of enemy sprites so that they can be positioned as desired, but this comes with the problem that if a party member is "Charmed/Confused" and attacks a fellow party member they will be massively mispositioned... So my question is if someone would know if there is a word to use to change my attack command so that "if target==actor" for example (if it's possibly even that simple I suppose I should actually try that) the actor would shift to a different coordinate to align with the party member?