|
FAQ
• Search • Login
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Author |
Message |
none
Joined: Fri Dec 18, 2009 11:00 pm Posts: 167
|
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 170 times
|
Tue Jan 18, 2011 5:25 pm |
|
|
411570N3
Joined: Wed Jan 07, 2009 10:26 am Posts: 4074 Location: That quaint little British colony down south
|
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.
|
Wed Jan 19, 2011 5:23 am |
|
|
none
Joined: Fri Dec 18, 2009 11:00 pm Posts: 167
|
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!
|
Wed Jan 19, 2011 8:55 am |
|
|
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Who is online |
Users browsing this forum: No registered users |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|