FAQ  •  Register  •  Login

Creating more QuakeC jobs

Moderator: Inside3D Admins

<<

r00k

Posts: 902

Joined: Sat Nov 13, 2004 10:39 pm

Post Wed Jan 25, 2012 7:03 am

Creating more QuakeC jobs

I'm sure you clicked here looking for money but no just a tid bit of code to schedule a time when to process a function

  Code:
entity (void() func, float t) job =
{
   local entity  work;
   
   work  = spawn();
   work.think = func;
   work.owner = self;
   work.nextthink = time + t;
   return work;
};
<<

Cobalt

User avatar

Posts: 155

Joined: Wed Jun 10, 2009 2:58 am

Location: NY

Post Wed Jan 25, 2012 8:16 am

Re: Creating more QuakeC jobs

Nope, I thought you were looking for work , heh.

Well I fixed my modelindex / skin / setmodel problems, but now there is like an invisible barrier surrounding the model, and sometimes on spawn the player dropps through the floor...darkplaces sees it, and restores oldorigin to fix it, but then sometimes he is whatever the amount they pushed him up to the surfact, that much riding off the floor again...and hes got a bigger bounding box for sure....setsize dont fix....

Looks like when you fix one problem you create more. Ever dont that?

Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.
Icons provided by Aha Soft