-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Basically an event triggered when a player switch teams.
(I think this even already exist in openmohaa. Not sure if it really works tho)
local.result = registerev "changeteam" path/to/script.scr::changeteam
// edit: maybe having local.newteam as second parameter and local.oldteam at last would make more sense, idk
changeteam local.player local.oldteam local.newteam:
end
with local.oldteam and local.newteam returning the same possible values as local.player.dmteam
allies, axis, spectator or freeforall (no idea if freeforall even works, never seen it returning that)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request