I can't seem to find this in google. I want to return the actor ID of the actor who performed a skill. I made a common event that will be run if the skill is casted. Inside the common event is a JavaScript function.
Here is my code:
I still don't know if this is the right approach. Thanks for the help.
Here is my code:
JavaScript:
var skillCasterID; //this variable will store the caster id if a skill is casted
function getID()
{
console.log('this function will be executed inside the common event when the skill is casted.');
skillCasterID = ?;
}
I still don't know if this is the right approach. Thanks for the help.