Home   Help Search Login Register  

Author Topic: Targeting IDs????  (Read 599 times)

0 Members and 1 Guest are viewing this topic.

Offline NightJay0044

  • Former Staff
  • ****
  • Let's make OFPEC great again
    • My Steam Workshop
Targeting IDs????
« on: 30 Jun 2004, 01:37:54 »
Is it possible to target I.D. Numbers in the mission editor, using camera scripting? If so how would you do that?

Who's hyped for Arma4, long live Arma!

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Targeting IDs????
« Reply #1 on: 30 Jun 2004, 01:52:16 »
I don't quite follow.   Are you trying to make a cutscene or get somebody to shoot at something?   (Or both?)

If you are just making a cutscene, read snYpir's camera tute (I suspect you already have) and then messiah's camera.sqs tutorial.    This is utterly essential - you'll see why when you read it and try it out.
Plenty of reviewed ArmA missions for you to play

GrimMonkey

  • Guest
Re:Targeting IDs????
« Reply #2 on: 30 Jun 2004, 02:32:44 »
Or maybe he's trying to target a location on the map for a cutscene. If so, just use Game Logics to target and use 'camSetRelPos'.

If you need something to shoot at, download the invisible unit addon, I think FDF has it. Check their site.

If you need to learn how to camera script, what Macguba said.


Beware the GrimMonkey

Offline NightJay0044

  • Former Staff
  • ****
  • Let's make OFPEC great again
    • My Steam Workshop
Re:Targeting IDs????
« Reply #3 on: 30 Jun 2004, 04:45:53 »
---MACGuba----
Thanks for your reply. You are just all over the forums. Glad you know how to do alot of things. I'm not trying to shoot anybody. I'm pretty good at camera scripting now. Just got to learn how to rotate it better and follow objects that
move an things like that.

----Grim Monkey-----
Thanks for your reply too. yes iam trying to target I.D.s on the map. You know when you click that button right above the "show Texture" button. "Show ID". That's what i meant. Just wondering if you could target those. and what they are there for.

Who's hyped for Arma4, long live Arma!

ponq

  • Guest
Re:Targeting IDs????
« Reply #4 on: 30 Jun 2004, 09:56:44 »
I used the camera.sqs script, and pointed it at a house on nogova. Pressing "space" got me the red square. This is what I got with that:

;=== 10:32:28
_camera camSetTarget '15189800# 41947: domek_kovarna'
_camera camSetPos [4838.75,5503.09,2.00]
_camera camSetFOV 0.232
_camera camCommit 0
@camCommitted _camera


Where "41947" is the Object ID in the editor. Maybe try to something with this.

Offline NightJay0044

  • Former Staff
  • ****
  • Let's make OFPEC great again
    • My Steam Workshop
Re:Targeting IDs????
« Reply #5 on: 30 Jun 2004, 15:54:24 »
Yeah maybe that will work. Thanks.
Who's hyped for Arma4, long live Arma!

Offline Blanco

  • Former Staff
  • ****
Re:Targeting IDs????
« Reply #6 on: 30 Jun 2004, 17:40:59 »
Why don't you use the object coimmand?

Code: [Select]
_camera camSetTarget object XXXXXX
_camera camSetPos [4838.75,5503.09,2.00]
_camera camSetFOV 0.232
_camera camCommit 0
@camCommitted _camera

...where XXXXXX is the id

« Last Edit: 30 Jun 2004, 17:44:55 by Blanco »
Search or search or search before you ask.