View Single Post
Old 03-26-2013, 04:29 AM   #1
arsenalforever
Rookie
 
Join Date: Apr 2012
Posts: 65
New to scripting. Need some help

I made the following script by following a tutorial video on YouTube for TSL:


Code:
void main()
{
object ONPC = GetObjectByTag("dgon");
int bPassive=FALSE;
AssignCommand(ONPC, ActionAttack(GetFirstPC(), bPassive));
}
How do I execute the above script? I'm using KOTOR tool and know C++
arsenalforever is offline   you may: quote & reply,