Home   Help Search Login Register  

Author Topic: Popup Target, How to Increase Number of Shots Before Animation Starts(Solved!)  (Read 4317 times)

0 Members and 1 Guest are viewing this topic.

Offline johnnyboy

  • OFPEC Patron
  • ****
  • Matan los Pantalones!!!
Code: [Select]
Anyone have an idea on how to make these targets move?
I'm guessing you want a target sliding left or right, as a moving target eh?

A simple while loop where you setpos the target left or right a small amount with each iteration should do the trick.   The following line should shift the target left or right depending on whether the _moveIncrement is negative or positive.

Code: [Select]
myTarget setpos (myTarget modelToWorld [_moveIncrement, 0, 0]);

El Cojon: "Do you like to Tango?"
You: "Only in Bagango."
Download Last Tango in Bagango and discover how El Cojon earned his name...

Offline Knight Trane

  • Members
  • *
Never heard of "modelToWorld" command.  I'll play with this over the weekend and edit this post with what I get.
Thanks.

Offline hoz

  • OFPEC Site
  • Administrator
  • *****
I hope this example still makes it into the ED.  :clap:
Xbox Rocks