ok thanks for your replies
The PlugIn DLL should contain these kind of commands :
Quote: "
VL Add Light Number.l
VL Delete Light( Number.l
=VL Get Exist( Number.l )
VL Set Light Type Number.l , Type.l
VL Set Light Range Number.l , Range.l
VL Position Light Number.l , XPos.f , YPos.f , ZPos.f
VL Rotate Light Number.l , XRot.f , YRot.f , ZRot.f
VL SetLightEffect Number.l , EffectType.l
VL SetLightParam1 Number.l , MinValue.l
VL SetLightParam2 Number.l , MaxValue.l
VL SetLightParam3 Number.l , Speed.l
VL SetLightParams( Number.l , MinValue.l , MaxValue.l , Speed.l
VL SetLightHalo Number.l , HaloNumber.l
VL Attach Object To Light Object.l , Number.l
VL Detach Object From Light Object.l , Number.l
VL Attach Light To Object Number.l , Object.l
VL Detach Light From Object Object.l , Number.l
VL Update"
The Attach/Detach command allow to joind object/lights
for example, Attach object to light make 1 thing. Object fading will be linked to light FX ( torch effect for example )
Attach light to object will make the light to always be positionned and rotated like the object to which she is linked.
The plug in is actually under development as it will also be used for X-Quad Editor.
if someone want to beta test this plug in and other I prepare, take a look at here :
http://forum.thegamecreators.com/?m=forum_view&t=45005&b=18
@Luke B : If you can provide me the DBPro source code, I'll adapt it to DLL using PureBasic