ID:175224
![]() May 23 2003, 11:57 am
|
|
How do you make your character walk to an item and after picking it up stay there, whenever I try doing this he always jumps back to where he started.
|
![]() May 23 2003, 12:01 pm
|
|
Maybe if you showed some code, it would be easier to see what the problem is. As it is now, I can't help you because I don't understand the problem.
|
Sorry about that, this is what im usin:
obj Food icon = 'Food.dmi' Click() usr.Move(src.loc) src.loc = usr |
ShadowBlade6300 wrote:
Sorry about that, this is what im usin: change it to this: > obj The src.loc = usr contradicts the usr.Move(src.loc) because its saying the food goes to the usr and the usr goes to the food so when the usr gets the food, it goes back up to pick it up (I think). Also you need to have the del src so when the usr gets the food, it dissapears. I hope this works :) ~starwarspower |
hmm.. sorry i can't help you, you have to ask some one with more knowledge than me. Or check the demos.
|