DanM, on Jan 8 2010, 06:08 PM, said:
there is a slight problem with quoter activation by monsters, i just cant seem to get the picture and text to work, text comes up fine, iam not sure how to solve this as i understand whats causing it (not having a lotag of 2 for picture quotes)
The problem is that lotag is doing double duty. Normally lotag 2 means it is a picture quoter, but lotag is used as the activation number in monster activated quoters, so there is no way to specify that it is a
picture quoter if you use monster activation. Unfortunately, all the tags are used for something, so something has to be sacrificed. And keep in mind it has to continue to work in existing maps, so I can't just rewrite the code to use the tags differently, unless it is consistent with the old use.
How about this: Normally hitag is the quote number, or the tile number of the picture you want displayed. If it is a monster activated quoter (lotag>3) and you want it to show a picture, add 10000 to the hitag (so if you want it to display RPGSPRITE, you would give it a hitag of 10023). Hopefully, maps can store hitags of up to 32767.