View unanswered posts | View active topics It is currently Sat Sep 21, 2019 6:43 pm



Reply to topic  [ 3 posts ] 
 Weird problem?? 
Author Message

Joined: Fri Dec 18, 2009 11:00 pm
Posts: 167
Reply with quote
Post 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 55 times
Tue Jan 18, 2011 5:25 pm
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post 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
Profile WWW

Joined: Fri Dec 18, 2009 11:00 pm
Posts: 167
Reply with quote
Post 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
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.018s | 18 Queries | GZIP : Off ]