Data Realms Fan Forums
http://forums.datarealms.com/

Weird problem??
http://forums.datarealms.com/viewtopic.php?f=73&t=21171
Page 1 of 1

Author:  none [ Tue Jan 18, 2011 5:25 pm ]
Post subject:  Weird problem??

The problem is, it works fine for the first targeted actor but some actors or buying an actor stops it from working correctly.

It still gibs in the right location but looks like the sprites are at the wrong position.?

?? very confusing, can you pros help me out with this one please.

Attachments:
code.rar [966 Bytes]
Downloaded 157 times

Author:  411570N3 [ Wed Jan 19, 2011 5:23 am ]
Post subject:  Re: Weird problem??

Are you using global values instead of local ones?
It generally helps to describe the problem in greater depth, as a large number of people will generally not want to put the effort into it that corresponds with downloading and manually troubleshooting it.

Author:  none [ Wed Jan 19, 2011 8:55 am ]
Post subject:  Re: Weird problem??

The problem is with trying to move the actors legs and arms, the sprites don't seem to move to the right position but they gib in the right position.

This happens when ordering an actor, if I kill someone, then it will work on the actor I ordered. Then it stops working on random actors.

Here a simplified part that will not work

for i = 1, #parts do
     parts[i].Pos = Vector(self.Pos.X + 25, self.Pos.Y - 25); -- moving position of legs and arms stops working randomly or when ordering an actor.
end

It does work just won't show it working, it gibs in the exact spot but the sprites just won't move arrgggg!

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