Complete Example Scripts: Difference between revisions

Jump to navigation Jump to search
imported>Evernewjoy
imported>Evernewjoy
Line 126: Line 126:


* This script runs on a onTriggerEnter event, so you must create a trigger volume. See the script example above for details on this.
* This script runs on a onTriggerEnter event, so you must create a trigger volume. See the script example above for details on this.
* Remember to add this example script to the trigger volume object that you create, so you have an actual instance of this script in your level.




Line 146: Line 149:




* Now you must modify the property of this script example to point to your formlist that you just created, so that the script is actually aware of your formlist property.
* Now you must modify the property of this script example instance, which is present on your trigger volume.
 
Edit the property so that it points to EditorID of your formlist that you just created.




Anonymous user

Navigation menu