Aller au contenu
  • 0

Signs


Question

7 réponses à cette question

Messages recommandés

  • 0
Posté(e)

every second:
loop {msgsigns::*}
	if line 2 of block at loop-value-1 is "Broadcast":
		set line 4 of block at loop-value to "TonMessage"
on place:
if {msgsigns::%location of event-block%} is not set:
	set {msgsigns::%location of event-block%} to location of event-block
on break:
if {msgsigns::%location of event-block%} is set:
	delete {msgsigns::%location of event-block%}
command /resetsigns:
permission: signs.reset
trigger:
	delete {msgsigns::*}
	message "sign reset !"

Est-ce ça ?

  • 0
Posté(e)
every second:
loop {msgsigns::*}
	if line 2 of block at loop-value-1 is "Broadcast":
		set line 4 of block at loop-value to "TonMessage"
on place:
if {msgsigns::%location of event-block%} is not set:
	set {msgsigns::%location of event-block%} to location of event-block
on break:
if {msgsigns::%location of event-block%} is set:
	delete {msgsigns::%location of event-block%}
command /resetsigns:
permission: signs.reset
trigger:
	delete {msgsigns::*}
	message "sign reset !"

Est-ce ça ?

En gros oui merci beaucoup!

  • 0
Posté(e)

J'avais oublier ce détail, voilà.

on place:
   if event-block is sign:
       if {msgsigns::%location of event-block%} is not set:
           set {msgsigns::%location of event-block%} to location of event-block

×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.