Page 1 of 1

Same Text For Similar Events

Posted: Wed Jun 03, 2009 1:31 am
by paw1776
G'Day,

evt_nam_FRA_Merchant1
evt_nam_FRA_Merchant2
evt_nam_FRA_Merchant3
evt_nam_FRA_Merchant4

all have the same text:
Merchant Fleet formed.

These are all Line Events.

Can I put something in the Line so it will call
evt_txt_Merchant = Merchant Fleet formed.

That way I do not have to put a item in local strings for every evt_nam that is the same.

Posted: Wed Jun 03, 2009 7:38 am
by Hobbes
If you remove the location from the StartEvent line you will prevent a message being automatically generated. Then if you add a GenTextMsg you can specify the message string you want displayed - so you can use the same one for each similar event. Snag with ths is that if the player clicks on the text in game he won't be taken to the region the message applies to.

Not sure if there is a way around this, I've never tried putting a location in param4 of the GenTextMsg line. I have quite a few duplicate messages in Pontiac.

Cheers, Chris