View Entity Emask

Posted By: zero_karma

View Entity Emask - 09/18/09 22:21

Is it possible to get a function to run when you click on a VIEW entity?
Posted By: Inari

Re: View Entity Emask - 09/20/09 17:49

sorry, no
Posted By: Nidhogg

Re: View Entity Emask - 09/20/09 18:49

I think it may be possible.
Here is an example from the manual.
Code:
// this function takes an entity pointer as argument.
function ent_init(ENTITY* ent)
{
   set(ent,BRIGHT);
   ent.ambient(100);
   ent_animate(ent,"walk",50,0);
}
...
ent_init(you);
...



Give us more info on what your trying to achieve and we may be able to help you more.
© 2024 lite-C Forums