Home   Help Search Login Register  

Author Topic: Broken Editing FAQ Entry  (Read 744 times)

0 Members and 1 Guest are viewing this topic.

GIMPCHIMP

  • Guest
Broken Editing FAQ Entry
« on: 04 May 2003, 18:20:10 »
The following Editing FAQ entry contains a broken (obsolete?) link. Which is a shame, because it would've been helpful otherwise.

"INFANTRY: Unit in Tower (Beginner)

Submitted by: SFG
Credits: Enzoblue

Placing a unit in a watchtower.
--------------------------------------------------------------------------------
 

Placing a unit in a tower

First, download Arkaddy's script called Localizator.sqs found here:
http://www.ofpeditingcenter.com/cgi-bin/YaBB/Attachments/localiz ator.sqs

Place it in the mission folder of the mission you're editing.

Now go into editor. Put a Player unit near the tower you want.

Place a trigger anywhere and set Activate to Radio Alpha, change Once to Repeatedly, and put: [Player] exec "localizator.sqs" in the On Activation line.

Hit preview and climb the tower. Position youself exactly where you want the unit to be, facing the way you want him and everything.

Radio in, (0-0-1), and write the x,y,z and azimut numbers down.

Next place a unit near the tower.

Using your numbers, in his Init field type: this setpos [x,y,z];this setunitpos "UP" , and in his azimut cicle there's a place to put the exact azimut number. The 'this setunitpos "UP"' command makes it so he doesn't lay down after being shot at.

Example: this setpos [7299.05,6797.75,0.00179672];this setunitpos "UP"

You're done. Thanks Arkaddy!

 

 

--------------------------------------------------------------------------------
Submitted on: April 08, 2002, 00:00 "

Offline toadlife

  • OFPEC Old Skool
  • Former Staff
  • ****
  • Official OFP Editing Center Toad
    • toadlife.net
Re:Broken Editing FAQ Entry
« Reply #1 on: 05 May 2003, 04:32:12 »
Sorry, I looked, and I couldn't find that script anywhere on the server.... :(

....BUT,I went ahead and fixed it for you. It doesn't really require a script. ;)

Thanks for reporting that. That's one less FAQ entry we will have to fix in the near future.

http://www.ofpec.com/editors/faq_view.php?id=17
« Last Edit: 05 May 2003, 04:33:17 by toadlife »
"Whenever you want information on the 'net, don't ask a question; just post a wrong answer." -- Cancer Omega.