Garry's Mod Wiki

scripted_ents.OnLoaded

  scripted_ents.OnLoaded()

Description

This is used internally - although you're able to use it you probably shouldn't.

Called after all ENTS have been loaded and runs baseclass.Set on each one.

You can retrieve all the currently registered ENTS with scripted_ents.GetList.

This is not called after an ENT auto refresh, and thus the inherited baseclass functions retrieved with baseclass.Get will not be updated