• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Object Activation Actions.....What ?

Messages
40
Country
us-arizona
The SDK trys to explain this but I am still a little confused. It seems that this is really used to make sure goals are achieved. This is used to tie to one trigger in the mission that the person must complete along with another to satisfy reaching the goals before a reward can be given.

I guess I need a good simple example that is better than the one in the SDK.

Tying the Goal resolution action, goal, rewards when doing your own mission is confusing. The one in the Tutorial was simple....

Any help would be appreciated....

Regards
Jib01/02
:confused: :confused: :confused:
 
I haven't done anything with regard to goals yet but, I've got tons of object activation actions (oba's) in my missions.

Here's a simple example that I use to determine if you've exceeded taxi speed limitations.

Without pasting code, I'll just give you the broad strokes.

oba=Object Activation Action
ppt=Property Trigger
dlg=Dialog Action

Property Trigger
BrakeParkingIndicator=FALSE
Action=obaTaxiSpeed

obaTaxiSpeed
Trigger=pptTaxiSpeed
State=True

Property Trigger - pptTaxiSpeed
GroundSpeed > 25 knots
Action - dlgCoPilotWatchSpeed

What this does is, once you release the parking brake, that is a trigger to tell the object activation action obaTaxiSpeed to turn on the property trigger pptTaxiSpeed. That property trigger now monitors your ground speed and triggers it's action(s) if 25 knots is exceeded.

Basically, the oba is used to change the state of another trigger. This same format can be used in reverse. When you get to the runway and prepare to takeoff, you don't want to get yelled at for exceeding 25 knots so at whatever trigger you want (perhaps a parking brake set trigger), you call the oba to change the state of the obaTaxiSpeed to False. That now deactivates that trigger.

I'm sure there are other uses but, that's as far as I've gotten with it. Again, it's used to change the state of another item in the mission TRUE/FALSE.

Another quick example would be if you wanted to trigger a gear down call. If you had a property trigger set to AltitudeAGL <= 5000 feet, the trigger would fire as soon as the mission starts. So, you set the trigger to active=false and put in an object activation action to change that state to True AFTER you climb above 5,000 feet AGL.

pptGearDownCall
Condition
AltitudeAGL > 5000 feet
Active=FALSE
dlgPilotGearDownPlease

pptAltitude5kAGL
Condition
AltitudeAGL <= 5000 feet
Active=TRUE
obaGearDownCheck

obaGearDownCheck
pptGearDownCall
State=TRUE
 
Last edited:
And here's an even simpler example:

Say I have a person in a scene, and I want that person to disappear (assume they are in the water, and my pilot just landed next to them, and I want to sort of animate them getting into the plane).

The person is just a piece of scenery which is activated.

The Object Activation Action can make that scenery either be activated (true), or not activated (false.)

Very useful.
 
The SDK trys to explain this but I am still a little confused. It seems that this is really used to make sure goals are achieved. This is used to tie to one trigger in the mission that the person must complete along with another to satisfy reaching the goals before a reward can be given.
:

Object Activation can be used for more then just goals. Like in the examples others have given, you can activate, deactivate things like Triggers, scenery, Points of Interest, even goals.

To state it simple, Object Activation is used to turn things on and off.

You don't need to use Object Activation for goals. You use a different action called a Goal Resolution Action to activate a completed goal. If you have more then one Goal, all goals need to be completed before the mission ends in Success.

For rewards, you again do not need an Object Activation Action. You can give a reward with any trigger. If you wish to have several triggers tripped before giving the reward, you could use an Object Activation Action to activate the reward action only after another trigger is activated.

You can get a fancy as you would like, but the mission can get quite complicated fast. I feel you can create a fun mission without needing to test for all the possible ways a person can cheat. If someone can find a way to get a reward without completing the mission, they are welcome to it :)

Gunner
 
Got it figured out.

Works great now that I understand what it does.

I was wondering how I was going to activate and deactivate different triggers on a runway....

Regards
jib01/02
:D :D :D
 
Back
Top