Recipes & patterns
Reusable, copy-paste-ready patterns for everyday TPScript needs. Each recipe gives a complete file plus the one-line explanation of why it works.
- Timer instead of Tick - frame-independent cooldowns and one-shot delays.
- Spawn an actor - spawn a projectile/enemy at a location.
- Get a component by type - grab a component from an actor or self.
- Dynamic multicast delegate - event with parameters others bind to.
- Movement boost - temporary speed change from
Example 15. - Making a designer hook -
BlueprintImplementableEventhand-off.
Each recipe assumes a meta: api=MODULE_API you should replace with your own module's macro.