Progetto H — API Reference API & Scripting Documentation
Event Shared

Pawn.MoveComplete

Called when AI reaches its destination, or when it fails

Syntax

Lua
Pawn.Subscribe("MoveComplete", function(self, succeeded)
    -- il tuo codice
end)

Arguments

Name Type Default Description
self Pawn
succeeded boolean