harIII Posted October 23, 2009 Share Posted October 23, 2009 I need a script to make an npc start walking around randomly and copied this one from the tutorial about making npcs walk the waypoints and there is a syntax error at "}", can somebody please correct this. void main() { AssignCommand(OBJECT_SELF,ActionRandomWalk()) } Link to comment Share on other sites More sharing options...
DarthStoney Posted October 23, 2009 Share Posted October 23, 2009 I need a script to make an npc start walking around randomly and copied this one from the tutorial about making npcs walk the waypoints and there is a syntax error at "}", can somebody please correct this. Just add ; to the end of assign command line void main() { AssignCommand(OBJECT_SELF,ActionRandomWalk())[color="Red"];[/color] } Link to comment Share on other sites More sharing options...
harIII Posted October 23, 2009 Author Share Posted October 23, 2009 Damn that makes me mad. That was something I should have seen. Thanks Stoney Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.