Animated Map Object with Auto Trigger v 1.0.2
What do you think about this mod? Write in comments!
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 description of all attributes is available in the header of the LUA file.