ANIMATED MAP OBJECT WITH AUTOTRIGGER V1.0.5

ANIMATED MAP OBJECT WITH AUTOTRIGGER V1.0.2

This script enables the use of animated objects in maps including the option of automatic triggers
You want to insert animated objects into your map or bring your map into the LS22 without converting all animated objects into ‘placeables’?
Then here is a solution. Simply integrate the script into the map and convert the value “AnimatedMapObject.onCreate” to “modOnCreate.AnimatedMapObject” in the user attributes of the animated objects.
The other settings are compatible with the LS19, so no adjustments need to be made in the “animatedObjects.xml”.
As a further function, there is the possibility of having the animated object triggered automatically when entering and leaving. All you have to do is create an attribute with the name ‘autoTrigger’ on the object.
A descriptionzof all attributes is available in the header of the LUA file.

Changelog:

Version 1.0.5
Adjusted the auto-trigger for vehicle combinations so that the trigger starts with the first device and ends with the last device. Previously, this was always initiated with the first device.
You want to insert animated objects into your map or bring your map into the LS22 without converting all animated objects into ‘placeables’?
Then here is a solution. Simply integrate the script into the map and convert the value “AnimatedMapObject.onCreate” to “modOnCreate.AnimatedMapObject” in the user attributes of the animated objects.
The other settings are compatible with the LS19, so no adjustments need to be made in the “animatedObjects.xml”.
As a further function, there is the possibility of having the animated object triggered automatically when entering and leaving. All you have to do is create an attribute with the name ‘autoTrigger’ on the object.

Version 1.0.4
Fix for exit issue.
Since V1.0.3 the game could not be exited from the menu.

Version 1.0.3
Fix for version 1.3 of LS.
The script also supports older versions

Credits:

Schluppe

4.5/5 - (6 votes)

Download mod

File File size
zip AnimatedMapObjects 3 KB

You may also like...

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x