SpawnVisualThinker
Jump to navigation
Jump to search
VisualThinker SpawnVisualThinker (Class<VisualThinker> type)
Usage
A LevelLocals function to spawn a VisualThinker. Returns a pointer to the spawned VisualThinker.
This function can be called globally using the level
global pointer, for example: level.SpawnVisualThinker('MyVisualThinker')
.
Parameters
- Class<VisualThinker> type
- The class type to spawn. The class must be based on VisualThinker.
Return values
Returns a pointer to the spawned VisualThinker instance, which can then be modified.