text storage inside the .amxd
Hi,
first build ever.
I'm trying to make a centralised help suggestion for my m4l device. It should contain around 50 lines of text that are picked when you click the corresponding button.
Button 1 triggers line 1, button 2 triggers line 2, button 3 triggers line 3 and so on
So far, so good. It works like a charm.
Is it possible to store the text inside of the .amxd file so that I can get rid of the extra text file that is in the same directory as my .amxd file?
thanks and greetings
Dave

Instead of [text] you can use [coll @embed 1] which will embed its content within the patch without the need to refer to an external file. The format is a bit different and you need to be careful about that, but it works well. You can even refer to the same [coll] accross your patch by giving it a name. Let's say you have a [coll mytext @embed 1], then any other [coll mytext] will have the same content.
Hi,
nice. this works very fine. =)
thanks and greetings