Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Angelscript: added function 'getSectionConfig()' to 'BeamClass' #2778

Merged
merged 3 commits into from
Aug 22, 2021
Merged

Angelscript: added function 'getSectionConfig()' to 'BeamClass' #2778

merged 3 commits into from
Aug 22, 2021

Conversation

danmackey
Copy link
Contributor

This will allow scripts to determine which section config is loaded on a given truck.

Example usage:

BeamClass@ t = game.getCurrentTruck();
game.log("Spawned section config is: " + t.getSectionConfig());

Screenshot 2021-08-20 194039

Copy link
Member

@ohlidalp ohlidalp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work, thanks.

@ohlidalp ohlidalp merged commit d3cb00f into RigsOfRods:master Aug 22, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants