User avatar
paw1776
Captain
Posts: 192
Joined: Thu Mar 26, 2009 5:29 am
Location: Melbourne, Australia
Contact: Website

Same Text For Similar Events

Wed Jun 03, 2009 1:31 am

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.

User avatar
Hobbes
Posts: 4438
Joined: Sat Mar 11, 2006 12:18 am
Location: UK

Wed Jun 03, 2009 7:38 am

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

Return to “Modding AGE engine games”

Who is online

Users browsing this forum: No registered users and 2 guests