-
linkto
Hello !
when i have linkto model :
PHP Code:
self linkto(self.dronemodel);
how can i move ? (WASD)
PHP Code:
for(;;)
{
if(self useButtonPressed())
self.dronemodel moveto(self.dronemodel.origin + (0, 0, 8), 0.1);
else if(self meleeButtonPressed())
self.dronemodel moveto(self.dronemodel.origin + (0, 0, -8), 0.1);
self.dronemodel.angles = (int(self.angles[0]), int(self.angles[1]), 0);
wait 0.01;
}
-
-
how to do it without libcod?
-
You might get it done with an awful lot of ugly hackery, but no one has managed to do that yet afaik (will fuck up player binds too), so you better try to get a libcod host.