Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.

New to the forum? Say hello in this topic! Also make sure to read the rules.

Flip objects through script

Give us your input on how we may improve the ScriptAPI in the game in future versions.
Forum rules
By using the forum you agree to the following rules.
Post Reply
User avatar
Posts: 424
Joined: Fri Jul 15, 2016 7:56 pm
Started SFD: PreAlpha 1.0.5
Location: Rome, Italy
Age: 20

Flip objects through script

Post by JakSparro98 » Fri Aug 18, 2017 6:16 pm

A simple command that allows to flip an IObject, this can be usefull for a whole group of objects (for instance a car to turn back) for inverting all their tiles rather than creating another version of the same object but manually flipped.

abstract void Flip ( FlipDirection direction )

enum FlipDirection:
Horizontally | 0, Horizontally
Vertically   | 1, Vertically
2 x

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest