-
Notifications
You must be signed in to change notification settings - Fork 15
Monitor Players Global
ρMain edited this page Feb 27, 2018
·
1 revision
That's too possible, but use this function only if the other functions in the shared-api are too restrictives for the feature you want to implement.
- Callback prototype:
function(object, name, x, y, z);
function RegisterAdvancedCallback(enabled, filters, callback);
-- The defined callback is going to make you move to a tremor totem found in the map
RegisterAdvancedCallback(true, nil,
function(object, name, x, y, z)
if name == "Tremor Totem" then
MoveTo(x, y, z)
end
end
)