Deleted800173User Posted April 19, 2011 Share Posted April 19, 2011 Having some issues with an NPC that is supposed to walk around a room and press three different buttons. So far I can get him to press one button, and then it takes a while for the AI to reasses which package its going to use. I need it to instantly reasses which ai package to use, or be able to just give hiim a specific package with a script. Any ideas? Link to comment Share on other sites More sharing options...
fg109 Posted April 19, 2011 Share Posted April 19, 2011 Put a script on each of the 3 buttons that tell the NPC to evaluate packages when they're pressed? Link to comment Share on other sites More sharing options...
Deleted800173User Posted April 19, 2011 Author Share Posted April 19, 2011 Put a script on each of the 3 buttons that tell the NPC to evaluate packages when they're pressed? What would that look like? Link to comment Share on other sites More sharing options...
fg109 Posted April 19, 2011 Share Posted April 19, 2011 scn example ref ref1 Begin OnActivate set ref1 to GetActionRef ref1.EvaluatePackage End Link to comment Share on other sites More sharing options...
Deleted800173User Posted April 19, 2011 Author Share Posted April 19, 2011 scn example ref ref1 Begin OnActivate set ref1 to GetActionRef ref1.EvaluatePackage End Awesome, Thanks! I didn't know what function to use. Link to comment Share on other sites More sharing options...
Recommended Posts