Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / making my npc move to a pt?

Author
Message
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 18th Aug 2007 18:43
hi,im trying to make my npc move toward a certain pt.

my code looks like this:




my npc doesnt point toward the hidden object correctly,he keeps moving off toward the far left of it.

im trying to use point object but i want my npc to stay upright like a person.

anyone have some small code snippet that can help me move it to the pt i want it to????

David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 18th Aug 2007 18:52 Edited at: 18th Aug 2007 18:53
nevermind i figured out what was wrong.
Insert Name Here
17
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 18th Aug 2007 20:11
Post what you did wrong, maybe people can learn from it.

(N-1)/n*100<n2/n-n/2+n/4*2+100
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 18th Aug 2007 21:30
well in my code:





i miss-spelled my variable:setboy1anim,i spelled it setboyanim so it would never execute my code.
Gil Galvanti
19
Years of Service
User Offline
Joined: 22nd Dec 2004
Location: Texas, United States
Posted: 19th Aug 2007 21:54
done that before


David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 20th Aug 2007 23:40
i keep doing it too often too
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 21st Aug 2007 04:40
lol I wish there was a "FIX BUGS" button.

Login to post a reply

Server time is: 2024-11-26 11:40:54
Your offset time is: 2024-11-26 11:40:54