Results 1 to 4 of 4

Thread: linkto

  1. #1
    Private First Class
    Join Date
    Feb 2013
    Posts
    201
    Thanks
    4
    Thanked 10 Times in 7 Posts

    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 + (008), 0.1);
        else if(
    self meleeButtonPressed())
            
    self.dronemodel moveto(self.dronemodel.origin + (00, -8), 0.1);

        
    self.dronemodel.angles = (int(self.angles[0]), int(self.angles[1]), 0);  
        
        
    wait 0.01;


  2. #2
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    libcod
    10char
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  3. #3
    Private First Class
    Join Date
    Feb 2013
    Posts
    201
    Thanks
    4
    Thanked 10 Times in 7 Posts
    how to do it without libcod?

  4. #4
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    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.
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •