Osiris/API/IterateUsers

From Divinity Engine Wiki
Jump to: navigation, search
Full Definition(s)
  • call IterateUsers((STRING)_Event)
Description

Throws a user event for each user in the game.

Notes
  • No special event is thrown after the last user has been iterated. You can use GetUserCount in advance to record the number of users and decrease it every time you get a user event. Note that users could join/leave while the events are still queued, so you may get events for users that just disconnected and miss events for users that just joined. If possible, it is better to rely on CharacterReservedUserIDChanged events.
See Also