Home   Help Search Login Register  

Author Topic: Couple of questions...  (Read 649 times)

0 Members and 1 Guest are viewing this topic.

snypa

  • Guest
Couple of questions...
« on: 09 Jun 2004, 16:03:24 »
1) (stupid) how can I set that a wp is activited. I've tried to make a wp with condition field saying "wp1" and to triggers (which is set "true") "wp1=true" and also putted some more time to trigger. That doesen't work. If anybody can answer and understanded what I meant thanks!

2) Does domove -command show as a waypoint on screen. If I would put a man who is player and put to init line "this domove getmarkerpos "m1"" would it show as waypoint on screen. If not is there a way to create waypoint with scripting.

3) Could you give me a good tute for camera scripting I haven't found any good.

Thanks and sorry for english! OFP rocks like Metallica (so does FDFmod)!

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Couple of questions...
« Reply #1 on: 09 Jun 2004, 16:33:34 »
1) Dunno what you mean.

2) Not sure, cant take long figuring that out though, just make a small test on desert island.

3) First read SnYpirs excellent tute, then read Messiahs Camera.sqs tute.

:beat: *Gets Shot* :beat:

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Couple of questions...
« Reply #2 on: 09 Jun 2004, 16:46:17 »
1)  In the waypoint's On Activation field, write:-

hint "Waypoint 1 completed"

Is that something like what you want?   If not, please explain again, perhaps with an example.     It doesn't sound like a stupid question.


2)   No, I don't think so, though Armsty's advice is sound - it's amazing what you can discover with a bit of experimentation.   The doMove command acts on a single unit who is a member of a group:  since only groups respond to waypoints, doMove can't affect a group directly.   The equivalent command for a group is move, but I doubt that would do what you want either.    The solution is a mixture of switch triggers and setWPPos commands.    Waypoints themselves cannot be created or destroyed with scripts.

Note that you can't see waypoints when Previewing a mission in the Mission Editor unless you have already put yourself into Cadet mode.   The default for the Editor is Veteran.

Remember also that players playing your mission in Veteran mode won't see the waypoints at all.    Never use waypoints to make anything happen in a mission, they are just a bonus for Cadets.

3)   What Armsty said.

Plenty of reviewed ArmA missions for you to play

snypa

  • Guest
Re:Couple of questions...
« Reply #3 on: 09 Jun 2004, 17:14:25 »
Well I'm making a mission where I'am standing at point, UAZ behind me. After some time a guy comes there and tells me to go and pick up kenral Huovinen from place nearby. I want (I WANT!!! :P) that after the guy has said his message you will get a waypoint that tells you to get in uaz and drive to the position. At the position kenral will board your uaz and you will drive him into position, but something happens on the way. Can't say what it will spoil you when I've released that campaign. So if you can help, please! ;D

Gooner861

  • Guest
Re:Couple of questions...
« Reply #4 on: 09 Jun 2004, 17:19:00 »
Does he get ambushed.........  :)

snypa

  • Guest
Re:Couple of questions...
« Reply #5 on: 09 Jun 2004, 17:20:59 »
Arrgghhhh! Too obvious! ::) ;D But question remains?

Gooner861

  • Guest
Re:Couple of questions...
« Reply #6 on: 09 Jun 2004, 17:24:19 »
Abducted by aliens

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Couple of questions...
« Reply #7 on: 09 Jun 2004, 17:28:51 »
Ah, right, now we understand.   This is a classic switch trigger question.    Read the tutorial in the Ed Depot.

In summary, create the sequence of waypoints that you want the player to carry out.    The WP at the UAZ position should be a HOLD WP.    Create a trigger, make it type switch and synchro it with the hold WP.     Now group the trigger to the guy who comes to give you orders:  you will get new options in the On Activation box.

Remember that you will have to tell the player to wait at the UAZ.   Also, make sure that the mission will still work if he doesn't wait there:  it may result in a mission failed ending.

Hope that helps.

Plenty of reviewed ArmA missions for you to play

snypa

  • Guest
Re:Couple of questions...
« Reply #8 on: 09 Jun 2004, 17:39:15 »
Yea, thanks Macguba!!! Well, you learn something new everyday, BTW found the tute you reffered!

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Couple of questions...
« Reply #9 on: 09 Jun 2004, 18:08:29 »
What Armsty said

People should say that more often me thinks.

Read the tutorial in the Ed Depot.

Yea, own me pants again. I've written a tute that is usefull. I'm so cool. ;D

:beat: *Gets Shot* :beat:
« Last Edit: 09 Jun 2004, 18:09:08 by The real Armstrong »