Please make it possible that we can add light to a node and define LightID()
- Light: use LightID() as 'ObjectID' und #PB_Node_Light als 'Typ'.
[Implemented] AttachNodeObject() - #PB_Node_Light
[Implemented] AttachNodeObject() - #PB_Node_Light
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and more ― Typeface - Sprite-based font include/module
Lizard - Script language for symbolic calculations and more ― Typeface - Sprite-based font include/module
Re: AttachNodeObject() - #PB_Node_Light
You can already attach a light to a node, using an existing constant, for example # PB_Node_Entity.
But it's true that the documentation is incomplete and lacks a constant for the lights.
Code: Select all
AttachNodeObject(0, LightID(0), #PB_Node_Entity)
Please correct my english
http://purebasic.developpez.com/
http://purebasic.developpez.com/