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.

Is it possible to change a tile's color?

Here you can find answered ScriptAPI topics.
Forum rules
By using the forum you agree to the following rules.
Post Reply
User avatar
Ol1vver
Fighter
Fighter
Posts: 30
Joined: Mon Nov 19, 2018 4:55 pm
SFD Alias: Ol1vver
Started SFD: PreAlpha 1.6
Gender:

Is it possible to change a tile's color?

Post by Ol1vver » Sat Dec 29, 2018 5:20 pm

Hello,
Is it possible to change a tile's color using scripts?
0 x
Why are you reading my signature?

User avatar
Shock
Superfighter
Superfighter
Posts: 203
Joined: Sun Mar 20, 2016 7:17 am
Title: Metallioneer
SFD Account: Shock
SFD Alias: (#MH):Shock
Started SFD: Pre-Alpha 1.2.0.
Location: Metalion
Gender:
Age: 19
Contact:

Post by Shock » Sat Dec 29, 2018 8:46 pm

Ol1vver wrote:
Sat Dec 29, 2018 5:20 pm
Hello,
Is it possible to change a tile's color using scripts?
i used groups to make an animation between objects of color changing.
pm me if you need help
1 x
-Minigame-maker.
Image
melodic hardcore the best.

User avatar
JakSparro98
Superfighter
Superfighter
Posts: 424
Joined: Fri Jul 15, 2016 7:56 pm
Started SFD: PreAlpha 1.0.5
Location: Rome, Italy
Gender:
Age: 20

Post by JakSparro98 » Sun Dec 30, 2018 1:14 pm

Ol1vver wrote:
Sat Dec 29, 2018 5:20 pm
Hello,
Is it possible to change a tile's color using scripts?
Currently is not possible to change object color through script, but as @Shock said, you can give the illusion of color change for an object by removing the old one and spawning a new one. Keep in mind that you cannot spawn an object with a custom color either, you will need to set a group maker to spawn the colored object.
3 x

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests