I wrote an OnHit script which I attached to the enemy. The script teleports the enemy to the place I need with the MoveTo command, however, after teleportation, the enemy ceases to be hostile (previously I made it hostile via the StartCombat command in the dialog) I tried to write StartCombat at the end of Event OnHit, but it says that StartCombat not a function or does not exist Can you please tell me how to solve this situation?