Now that you have a way to detect the user's location, you will create a new User Variable in which you will store the geolocation coordinates of Belgium. At runtime, you will compare the cpInfoGeolocation System Variable, to your custom Belgium variable. If you detect that the learner is in Belgium, you should display the slide that you inserted in the project earlier in this section. Use the following steps to create a custom Belgium variable:
- Still in the Variables dialog of the takeTheTrain.cptx file, use the Type dropdown to return to the User Variables.
- Click the Add New button to create a new User Variable.
- Type v_locationBelgium in the Name field.
- Select the Geolocation checkbox below the Unused Items button.
By selecting this checkbox, you are telling Captivate that you want to create a custom Geolocation variable. The difference between a Geolocation variable and a standard variable lies in the way you express the value...