PDA

View Full Version : Set enemy as spotted (rmb)



Screenchecker
Feb 15 2004, 13:43
Hi guys! Im creating my first (real) mission in OFP and i could need your help!

In my mission you have to snipe out an enemy Major who is pretty good guarded. He wants to flee with a Helicopter. But before you attack him, you have to spot him. (click at him with the right mouse button).
If you don't do that and the alarm goes off, then you've lost.
How can i get the game to recognize if the target is spottet & activate a trigger?

Oh.. I have another question:
How can i make a button on the radio (which you can see lying on the map (when you press "m" in the game)) to send units to a specified waypoint?


Thanks a lot,
Screen

PS: Sorry about my english http://forums.bistudio.com/oldsmileys/smile_o.gif

John_Q
Feb 15 2004, 13:54
1. player knowsabout targetname >= 0.1
Change the number if you need to.

2. Give the group at least 2 waypoints. The first one should be where they wait for your radio signal, and the second should be where they are attacking. Now create a normal radio trigger and synchronize it with the first waypoint http://forums.bistudio.com/oldsmileys/smile_o.gif .

Screenchecker
Feb 16 2004, 08:26
Thanks!
I'll try the commands out today! (I gues there will be some more questions coming up http://forums.bistudio.com/oldsmileys/smile_o.gif)

Greet's
Screen