![]() ![]() check if the correct oil tanker trailer is in the spawn box.Look at your AngelScript.log (on Windows, it’s located under MyDocumentsRigs of Rods 0.4logs): Whats next What happens if you drive a truck into the pink event box: With no errors the log could read like this: Result If you do not see an oil loader, check the AngelScript.log file for errors. Light pink boxes do not call back an AngelScript function, while dark pink boxes do call back an AngelScript function when triggered (~when you drive into them). Note: We’re only interested in the pink boxes here, as they represent event boxes. terrn.as, so in our case the file should be called '' when the terrain we use is called 'a1da0UID-nhelens.terrn' event_type: valid eventTypes that trigger this: avatar, truck, airplane, delete.Įxample: Programming the AngelScript file.event_name: the name of the box that the script will get when being notified.virtual: specifies that this box is an event box.boxcoords: Size and position of the box, relatively to the position of the object. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |