Inheritence

Summary

A prop is defined by its model. The model can define its health and what happens when it breaks. This component is designed to be easy to use - since you only need to define the model. Although you can access the procedural (hidden) components, they aren't saved, so it's a waste of time.

Constructors

Prop

Properties

BodyGroups
HasBodyGroups
HasMaterialGroups
Health
IsFlammable True is this prop can be set on fire.
IsOnFire
IsStatic If the prop is static - it won't have dynamic physics. This is usually used for things that you want to be breakable but don't move. Like fences and stuff.
LastAttacker
MaterialGroup
Model
OnPropBreak
OnPropTakeDamage
StartAsleep Physics will be asleep until it's woken up.
Tint

Methods

Break Delete this component and split into the procedural components that this prop created.
CreateExplosion
CreateGibs
Ignite
Kill
OnDamage
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.