Jump to content

[TranslateTo] Won't work with all objects?


Zorkaz

Recommended Posts

Here's a weird thing I've been observing with the Shopping Cart

 

I'm using a custom shopping cart (Keyword: Movable) but it won't get translated properly.

Since it has havok physics as opposed to a water plane maybe that's the issue?

Scriptname TBRShoppingCartTriggerScr extends ObjectReference

ObjectReference Property TheShoppingCart Auto
ObjectReference Property TheXmarker Auto
Int Property Into Auto

Event OnTriggerEnter (ObjectReference AkActionRef)
If Into == 0
TheShoppingCart.TranslateToRef(TheXmarker , 250.0)
Utility.wait(0.1)
Into =1
Endif
EndEvent

 

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...