| View previous topic :: View next topic |
| Author |
Message |
azswede
Joined: 19 Mar 2005 Posts: 10 Location: Phoenix, AZ USA
|
Posted: Mon Mar 21, 2005 4:30 pm Post subject: Mission Editor Events and Triggers. |
|
|
Worked on them for about 4 hours yesterday and tested.
Bad news I have more questions then answers! :hmm:
(FYI:Just in case your confused about Triggers and Events.
You create Triggers based upon one criteria.
You can only have one criteria per Trigger, which is limiting.
The criteria can be based upon on Time, Location, Ship destroyed, class, etc... Then you create an Event that is Triggered from (duh) the Trigger. The Event is used to actually make a change to the current mission when it's running. Like spawing a unit or sending a radio message etc...
For example:
Lets create a radio message 5 minutes into your custom mission.
Step1: Create Trigger, give it a name. I'll call it 'Start_Msg'.
Set the Trigger type to Time. You'll notice the datetime fields are enabled. Set the time 5 minutes greater then the Mission Property Time.
Step2: Create the Event, give it a name. I'll call
it 'Show_Start_Msg'.
Set the Event type to Message on the top right dropdown.
Type your message in the box below.
Below that are two chexboxes.
(Don't recall exact names)
"Repeat until confirmed" and "Important" I know it's called something else
If you select "important" the message will comeup as a popup during the game ELSE it will be listed as a radio message.
Note: All message are labled with From: Bdu.
"Repeat until confirmed" is what is says.
Next, below the checboxes you need to link the Event to the Trigger. So click add Trigger and 'Start_Msg' will show in the dropdown.
That's it.
OK now to my questions and some observations:
When you assign more then one Tirgger to an Event all the Triggers
have to be TRUE for the Event to Execute.
This is good and bad. Wish there was some qualifiers like and/or.
Have not got the spawn ability to work or the ability to change the behavior of a unit during an event. Not sure you can. Since the documenation is so pitiful :nope:
I wonder if developers intentionally make it difficult so you have to earn the right to create cool missions.
Message Events don't seem to appear for other players.
Need comfirmation on that, its work for me in single and MP but apparently other players dont recieve them. Not sure if that's a bug or me doing something wrong or by design.
The time entry and exit dates are a pain in the ass!
Still working how they behave. Clarification would be nice.
That's it for now back to work, will post again after future experiments. |
|
| Back to top |
|
 |
timetraveller
Joined: 23 Dec 2004 Posts: 967 Location: Atlantic Shipping Lanes
|
Posted: Mon Mar 21, 2005 5:12 pm Post subject: |
|
|
Thanks for the info, azswede. You're way ahead of me with triggers and events.
-timetraveller |
|
| Back to top |
|
 |
MeatWater
Joined: 20 Mar 2005 Posts: 21 Location: north-west Germany
|
Posted: Tue Mar 22, 2005 6:09 am Post subject: |
|
|
| I remember that back then with Operation Flashpoint I had the best results learning from looking at mission scripts from the missions the game was shipped with. Haven't looked at it here, but it might be possible to take a good look at these missions and then maybe tweak user missions from outside the mission editor |
|
| Back to top |
|
 |
azswede
Joined: 19 Mar 2005 Posts: 10 Location: Phoenix, AZ USA
|
Posted: Tue Mar 22, 2005 1:45 pm Post subject: |
|
|
| Good idea |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|