Jump to content

Home

Problem with a Script


harIII

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...