Entity.CreateShadow
From GMod Wiki
Function | |
Syntax | Entity:CreateShadow( ) |
Description: | |
Running this function will create the shadow of the specified entity. | |
Returns: | nil |
In Object: | Entity |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.CreateShadow]Entity.CreateShadow [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | An example usage of this function. |
---|---|
Used on | |
Code | ent:SetNoDraw( false ) ent:CreateShadow() |
Output | An entity with a shadow. |
Additional Notes
- When you've made an entity invisible with Entity.SetNoDraw and made it re-appear afterwards, you can use this to make the shadow appear again.