PDA

View Full Version : How to remove or disable a func slot from entity ?



D.J.Peters
19-05-2013, 16:15
How can I disable the render callback temporary from entity ?

I tryed TBGL_EntityCreateFuncSlot( %sScene, %eEntity, 0, "" ) but without success.

Or exist a kind of TBGL_EntityDestroyFuncSlot(scene, entiy) ?

Joshy

Petr Schreiber
19-05-2013, 16:27
I think TBGL_EntitySetUse with false flag should do the job.


Petr

D.J.Peters
19-05-2013, 16:29
I think TBGL_EntitySetUse with false flag should do the job.ha ha to simple. :wink:
i was looking for TBGL_EntityShow( %sScene, %eEntity) and TBGL_EntityHide( %sScene, %eEntity)

Joshy