Don't let that "Other" tag fool you. You want to know this.
We also have some events that don’t fit nicely into either of the categories we’ve already discussed so we’ll take a look at those here.
-We’ll begin with an easy one. The “end event” simply ends the game. You won’t generally use this in trials tracks but when you get into building skill games the “end event” will be a necessity. No real properties here besides a few basic event options, an impulse to this event ends the game, simple as that.
-Next we have the “game event.” As we’ve covered in some previous tutorials you have the ability to use custom objects as your game character, this event allows you to change what your game character is on the fly. Properties here we come.
-Most of our options here are familiar; the only one we really need to concern ourselves with is “Game Character.” This slider decides what you are changing your game character to. Rider and bike are your first two choices with custom object as the third. When set to custom object you also get the “select game character” option which allows you to choose your custom object.
-Now we’ll take a look at the “hitpoint event.” This event can be used to add hitpoints to any object that uses hitpoints. Let’s see what we have in the properties.
-With this event the “Type” determines how you affect the object’s hitpoints. “Set” will just set that object’s hitpoint value while increase or decrease will adjust based on the number of hitpoints it already has, increase makes it stronger, decrease makes it weaker.
-The set value event works with datasources which we have not yet covered but its functions are pretty straight forward so we can still take a quick look. The set value event will always be used to changethe value in the variable datasource. Just as a quick preview the variable datasource is basically a tool used to hold a numerical value that can be used for various purposes which we will cover in the datasource lesson. Now let’s check out our properties.
-“type” in this event changes how the event will affect the value that is already in the variable datasource, and “value” sets the value the event will use to do it. “Set” will simply change the datasource value to the value you have in the event. The rest all affect the datasource value with math. Increase, decrease, multiply and divide will all take the value in the event and the value in the datasource and use that mathematical function to create the datasource’s new value.
-Finally we have the “state event.” By this point we’ve seen quite a few items in the editor that have an “enabled” checkbox. The state event affects that checkbox. We have the same type, reset and select options we’ve seen a lot of in event properties. In this case, “off” means the checkbox is unchecked, “on” means it is checked and of course toggle simply changes it from its current state.
-Now we do have one more event that we haven’t covered yet. The “object position event” is a pretty advanced tool and you will need a better understanding of datasources before we can discuss that so we will save it for a little later.