Author Topic: Let Objects move smoothly  (Read 1507 times)

0 Members and 1 Guest are viewing this topic.

GermanArmyX

  • Relentless Teamkiller
  • **
  • Posts: 72
    • View Profile
Let Objects move smoothly
« on: October 17, 2012, 08:34:11 pm »
Hey guys, me again)
could you help me please n scripting?
I would like to move an object ingame smoothly.. not like the teleporting way. It's should move from marker A to marker B in the time of X.

Greeting,
G.A.X.

c5

  • Online Villain
  • ***
  • Posts: 174
    • View Profile
Re: Let Objects move smoothly
« Reply #1 on: October 17, 2012, 08:59:16 pm »
Create a loop and move it by a specific distance after by a specific time interval. Or use setVelocity...

Might be better ways though, haven't played for some time now
« Last Edit: October 17, 2012, 09:05:57 pm by c5 »
How do I makes hax?!

GermanArmyX

  • Relentless Teamkiller
  • **
  • Posts: 72
    • View Profile
Re: Let Objects move smoothly
« Reply #2 on: October 17, 2012, 10:36:02 pm »
Create a loop and move it by a specific distance after by a specific time interval. Or use setVelocity...

Might be better ways though, haven't played for some time now

Thanks you! I think setVelocity will help much :)

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: Let Objects move smoothly
« Reply #3 on: October 17, 2012, 11:22:47 pm »
create a soldier , make him invisible , attach whatever object you want to him , then give the toy soldier a waypoint , when he gets there do whatever , delete him and the object etc or make him go to another waypoint , looks good and confuses the fuck out of the pricks  :smile
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

c5

  • Online Villain
  • ***
  • Posts: 174
    • View Profile
Re: Let Objects move smoothly
« Reply #4 on: October 17, 2012, 11:25:25 pm »
create a soldier , make him invisible , attach whatever object you want to him , then give the toy soldier a waypoint , when he gets there do whatever , delete him and the object etc or make him go to another waypoint , looks good and confuses the fuck out of the pricks  :smile

LOL, never thought of that, sounds hilarious  :icon_laugh
How do I makes hax?!

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: Let Objects move smoothly
« Reply #5 on: October 18, 2012, 12:04:19 am »
« Last Edit: October 18, 2012, 12:11:54 am by MrMedic »
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

GermanArmyX

  • Relentless Teamkiller
  • **
  • Posts: 72
    • View Profile
Re: Let Objects move smoothly
« Reply #6 on: October 18, 2012, 12:53:03 am »
Nice but now i got a new question :D how to make unit invisible? can't find anything useful somewhere else..


PS. "hideobject obj" get it thanks!
« Last Edit: October 18, 2012, 01:34:27 am by GermanArmyX »

c5

  • Online Villain
  • ***
  • Posts: 174
    • View Profile
Re: Let Objects move smoothly
« Reply #7 on: October 18, 2012, 01:07:52 am »
iirc do hideObject globally
How do I makes hax?!

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: Let Objects move smoothly
« Reply #8 on: October 18, 2012, 01:41:57 am »
iirc do hideObject globally

correct.

EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157