Data Realms Fan Forums
http://45.55.195.193/

Controller.MOVE_LEFT for ACRockets
http://45.55.195.193/viewtopic.php?f=73&t=15001
Page 1 of 1

Author:  Roon3 [ Wed May 27, 2009 12:58 pm ]
Post subject:  Controller.MOVE_LEFT for ACRockets

Code:
function Update(self)

   if self:GetController():IsState(Controller.MOVE_LEFT) then
      self.Velocity = Vector (-10,0)
   end
end  --Tabs are correct

Do ACRockets have different a Controller.MOVE_LEFT thing than other units. The above doesn't work.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/