Home   Help Search Login Register  

Author Topic: Creating waypoints  (Read 1604 times)

0 Members and 1 Guest are viewing this topic.

seanver

  • Guest
Creating waypoints
« on: 27 Aug 2002, 19:23:33 »
Is there any way to create a waypoint for a unit with a command? Or is there anyway to show the yellow square? I'm making a mission and I wish to indicate the player when an event take place that he must find for some bad guys, but at the beginning of the mission I don't want to show any waypoint. Ideas?

LimeCordial

  • Guest
Re:Creating waypoints
« Reply #1 on: 27 Aug 2002, 20:15:16 »
so basically you want to know how to hide a waypoint?

Bremmer

  • Guest
Re:Creating waypoints
« Reply #2 on: 27 Aug 2002, 20:27:50 »
Place a unit on the map (make sure it is on the same side as the player). In its init field put emptygroup = group this; deletevehicle this. Give this unit the waypoints you want to appear.

What this has done is create an empty group with the waypoint path you require. When you want the waypoints to appear you can do so by joining the player into this group, using [player] join emptygroup.

You'll get an unusual command ("1, follow 1") but it does allow you to make waypoints appear (and dissappear/reappear ...). Just be careful if the player is part of a larger group, or you are using other commands that rely on group names.

Cheers

[edit] bloody typos  >:([/edit]
« Last Edit: 27 Aug 2002, 20:29:25 by Bremmer »

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:Creating waypoints
« Reply #3 on: 27 Aug 2002, 20:32:21 »
There's another way to do that, with switch triggers
and setwppos.

I'll be back home (from work) in around 3 hours, then
i'll try to find a solution and post it in here.

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

seanver

  • Guest
Re:Creating waypoints
« Reply #4 on: 27 Aug 2002, 20:33:50 »
Thanks, I think I could avoid the radio message with the EnableRadio command

seanver

  • Guest
Re:Creating waypoints
« Reply #5 on: 27 Aug 2002, 21:07:11 »
Other question about waypoints. Is there any way to keep the description text on the waypoint instead of the "waiting for others" when the waypoint has a condition?

Bremmer

  • Guest
Re:Creating waypoints
« Reply #6 on: 27 Aug 2002, 21:38:30 »


[attachment deleted by admin]
« Last Edit: 27 Aug 2002, 21:47:01 by Bremmer »

seanver

  • Guest
Re:Creating waypoints
« Reply #7 on: 27 Aug 2002, 21:39:31 »
I see... thanks

seanver

  • Guest
Re:Creating waypoints
« Reply #8 on: 27 Aug 2002, 22:02:47 »

 I forgot to solve the post