TKC-Community

Hacking and Art => Armed Assault 3 => Armed Assault 2 => Topic started by: GermanArmyX on October 17, 2012, 08:34:11 pm

Title: Let Objects move smoothly
Post by: GermanArmyX 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.
Title: Re: Let Objects move smoothly
Post by: c5 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
Title: Re: Let Objects move smoothly
Post by: GermanArmyX 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 :)
Title: Re: Let Objects move smoothly
Post by: MrMedic 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
Title: Re: Let Objects move smoothly
Post by: c5 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
Title: Re: Let Objects move smoothly
Post by: MrMedic on October 18, 2012, 12:04:19 am
 :icon_biggrin2

kath's happy.
http://www.unknowncheats.me/forum/676480-post66.html


(http://i48.tinypic.com/fcvi36.jpg)

easy peazy.  :smile
Title: Re: Let Objects move smoothly
Post by: GermanArmyX 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!
Title: Re: Let Objects move smoothly
Post by: c5 on October 18, 2012, 01:07:52 am
iirc do hideObject globally
Title: Re: Let Objects move smoothly
Post by: MrMedic on October 18, 2012, 01:41:57 am
iirc do hideObject globally

correct.