Originally Posted by arsenalforever
I made the following script by following a tutorial video on YouTube for TSL:
object ONPC = GetObjectByTag("dgon");
AssignCommand(ONPC, ActionAttack(GetFirstPC(), bPassive));
How do I execute the above script? I'm using KOTOR tool and know C++
That script looks right... so what exactly is your question? Do you want to know how to compile the script or get it to actually play in-game (getting it to play in-game could be done in a number of ways, so it would be helpful to know where/when/during what event you intend to have this script executed)?