Hello everyone. I'm new to Skripting.
So, I'm trying to figure out a way of creating a sign and setting the text of it.
This is my first attempt.
it prints <none> which really frustrates me. (and of course the sign is blank if i try to place it)
So next attempt:
I hate being repetitive. I don't want to use "block in front of event-block" more than once, it really bothers me.
Is there a way to reference the wall_sign I created?
Thanks in advance.
[doublepost=1490747531,1490742927][/doublepost]
I found the solution. Variable and object referencing is very confusing.
So, I'm trying to figure out a way of creating a sign and setting the text of it.
This is my first attempt.
code_language.skript:
set {_sign} to sign
set line 1 of {_sign} to "test"
send "%line 1 of {_sign}%"
So next attempt:
code_language.skript:
on place of furnace:
set block in front of event-block to wall_sign
set line 1 of block in front of event-block to "this is line 1"
set line 2 of block in front of event-block to "this is line 2"
Is there a way to reference the wall_sign I created?
Thanks in advance.
[doublepost=1490747531,1490742927][/doublepost]
code_language.skript:
on place of furnace:
set block in front of event-block to wall_sign
set {_sign} to block in front of event-block
set line 1 of {_sign} to "this is line 1"
set line 2 of {_sign} to "this is line 2"