Child

From GMod Wiki

Jump to: navigation, search

If an object is a child of another object, it means that that object has everything that it's parent object does in addition to everything it has. If its parent has a method by the same name as a child's method, the child's method overrides it. EX: Entity:IsPlayer() is replaced by Player:IsPlayer(), because entity is the parent of player.

Currently the only object with children is the Entity object.

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox