I would like to add a connector to a wall text so that when the text is clicked I can perform an action (call a function).
Using 'onShowText' for the event doesn't seem to work. I am sure my syntax is messed up. Can somebody provide an example?
addConnector
- Zo Kath Ra
- Posts: 931
- Joined: Sat Apr 21, 2012 9:57 am
- Location: Germany
Re: addConnector
Can you upload a test dungeon that demonstrates how you're adding the connector to the wall text?
1) Zip the editor files
2) Convert them to base64 with https://base64.guru/converter/encode/file
3) Reply to this post, and put the base64 string inside code tags
And please tell us what doesn't work.
Is there an error, or does nothing happen?
1) Zip the editor files
2) Convert them to base64 with https://base64.guru/converter/encode/file
3) Reply to this post, and put the base64 string inside code tags
And please tell us what doesn't work.
Is there an error, or does nothing happen?
Re: addConnector
Please accept my sincere apology. I must have had a typo or something. I got it to work with...
secPassTxt.walltext:addConnector("onShowText","secPassScr","addText")
secPassTxt.walltext:addConnector("onShowText","secPassScr","addText")