Home   Help Search Login Register  

Author Topic: Need basic help with endings  (Read 1134 times)

0 Members and 1 Guest are viewing this topic.

Optik

  • Guest
Need basic help with endings
« on: 08 Jun 2006, 16:14:24 »
Sorry if this has been already explained but:

I've started with editing just 2 days ago and I've read the tutorial. It says that if I want an ending of the mission when all of the enemy units have been killed, i just type "sy" in the condition field. Well, i did that and nothing happened, so i've given names to all enemy units and then made a condition that game should end when all of them die. Well it is noobish but it worked lol.
So, does the sy really doesn't work or I misused it.

My second question would be about radio. How to disable calling reinforcements when you already call them? I got it that when you use radio to call some units, you trigger a variable which is a condition that enables waypoints for reinforcements. Am i right?
But how to disable radio after you've done that? My solution was putting a trigger that activates at the beginning of the mission and sets a variable to true, which is a condition for radio trigger, and then when the radio is activated, the radio trigger sets the variable to false, but then i have reinforcements coming straight away, not paying attention to conditions that enable their waypoints.

ehm...help? :)

Offline Cheetah

  • Former Staff
  • ****
Re: Need basic help with endings
« Reply #1 on: 08 Jun 2006, 16:23:36 »
Sorry if this has been already explained but:

I've started with editing just 2 days ago and I've read the tutorial. It says that if I want an ending of the mission when all of the enemy units have been killed, i just type "sy" in the condition field. Well, i did that and nothing happened, so i've given names to all enemy units and then made a condition that game should end when all of them die. Well it is noobish but it worked lol.
So, does the sy really doesn't work or I misused it.

My second question would be about radio. How to disable calling reinforcements when you already call them? I got it that when you use radio to call some units, you trigger a variable which is a condition that enables waypoints for reinforcements. Am i right?
But how to disable radio after you've done that? My solution was putting a trigger that activates at the beginning of the mission and sets a variable to true, which is a condition for radio trigger, and then when the radio is activated, the radio trigger sets the variable to false, but then i have reinforcements coming straight away, not paying attention to conditions that enable their waypoints.

@1. Never heard of the "sy".
@2. So you want to be able to cancel the request of reinforcements?
Like missions? Help with Beta Testing! or take a look at the OFPEC Missions Depot for reviewed missions!

Optik

  • Guest
Re: Need basic help with endings
« Reply #2 on: 08 Jun 2006, 16:29:32 »
from OFP's readme:

Now place another SENSOR. This will be for the other ending, the one where you win the mission.
AXISa=0, AXISb=0, ACTIVATION=NONE, TYPE=END 1, TEXT=endWIN, CONDITION=sy and westcardead and uscaralive
End 1 will be defined in the briefing; sy is the variable executed when there are no enemy in the area;

i'm a beginner damnit

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re: Need basic help with endings
« Reply #3 on: 08 Jun 2006, 18:45:10 »
Hm. I'm not entirely certain what scenario you're describing here. Hm.

The first case : yes indeed. sy is just a variable, which can be either "true" or "false" in this case. I believe that there should be a "sensor" (hm. We call them triggers) which is large enough to encompass the entire enemy force, which is activated by "West not present" (=no west units in the area defined by the a/b values), condition "true" (=no other condition needed but the one we already mentioned) and putting sy=true in the On Activation field. Basically, when the trigger is triggered, by you having killed or chased away all West units, the variable "sy" is true.

As noted, you also need the variables westcardead and uscaralive to be true. (I think it explains how to do that in the tutorial). When all of these are true, THEN the "endmission" trigger can be activated. There's nothing special in the variable name "sy", although I really have no idea why they chose to name the variable that :P

As to the other thing : uhm, once again, not entirely certain what the context is but : a radio trigger (Radio Alpha, for instance) can be set to either "Once" or "Repeatedly". You want to make it "Once", that way it'll disappear when you've called it once. Hm.

I wish I could show you some more tutorials *looks sadly at the Editor's Depot* there are some in there WAAAY better than the one shipped with the game. But oh well. Keep asking questions, you'll learn. :)

Good luck!

/Wolfrug out.
"When 900 years YOU reach, look as good you will not!"

Optik

  • Guest
Re: Need basic help with endings
« Reply #4 on: 08 Jun 2006, 20:34:13 »
thanks, that explains alot of things.  ;D