*/
void dynlight_think()
{
+ SELFPARAM();
if(!self.owner)
remove(self);
}
void dynlight_find_aiment()
{
+ SELFPARAM();
entity targ;
if (!self.target)
objerror ("dynlight: no target to follow");
}
void dynlight_find_path()
{
+ SELFPARAM();
entity targ;
if (!self.target)
objerror ("dynlight: no target to follow");
}
void dynlight_find_target()
{
+ SELFPARAM();
entity targ;
if (!self.target)
objerror ("dynlight: no target to follow");
}
void dynlight_use()
{
+ SELFPARAM();
if (self.light_lev == 0)
self.light_lev = self.lefty;
else