This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
building:placeables [2019/04/03 19:44] Mavrixio created |
building:placeables [2020/12/09 04:24] (current) Carcerian [Adding Visual Effects] |
||
---|---|---|---|
Line 16: | Line 16: | ||
* They can't be targetted, be animated or have visual effects, moving them wont by perceived by players until they re-enter the area | * They can't be targetted, be animated or have visual effects, moving them wont by perceived by players until they re-enter the area | ||
* They don't really impact players performance so you can add almost as many as you want to your areas (but ideally less than 1k) | * They don't really impact players performance so you can add almost as many as you want to your areas (but ideally less than 1k) | ||
+ | |||
+ | ===== Adding Visual Effects ===== | ||
+ | |||
+ | To add Visual Effects to a placeable object, set it to non-static (dynamic), set the placeable OnHeartbeat script to "plcvfx_self" and add integer var PLCVFX_SELF, (or PLCVFX_SELF1, PLCVFX_SELF2, PLCVFX_SELF3, etc) with the desired VFX index number(s). | ||
+ |