Skip to content

NOTIFY_KILL_ENEMY

Description

Notifies Hedgehog Engine 2 to update the mission objective.

Parameters

todo

Todo.

todo

Todo.

todo

Todo.

todo2

Todo. Used to add an amount.

Return Value

None.

Syntax

game.callbackParam0 = todo
EngineCallback(NOTIFY_CALLBACK)
CallNativeFunction2(NotifyCallback, NOTIFY_CALLBACK, int todo)
NotifyCallback(NOTIFY_KILL_ENEMY, int32 todo, int32 todo2, NULL);

Example

game.callbackParam0 = 0
EngineCallback(NOTIFY_CALLBACK)
CallNativeFunction2(NotifyCallback, NOTIFY_CALLBACK, 0)
NotifyCallback(NOTIFY_KILL_ENEMY, 0, 0, NULL);