User avatar
lodilefty
Posts: 7616
Joined: Sat Aug 11, 2007 3:27 pm
Location: Finger Lakes, NY GMT -5 US Eastern

Location 'jump' in options

Sat Jan 17, 2009 1:45 pm

Some WIA options deliver troops, ships, etc to random locations.
Example: Privateers

SelectFaction = $USA
StartEvent = evt_nam_USA_Commission_Privateers_Check|999|0|NULL|NULL|NULL|NULL

Conditions
CheckOption = $gmaOptionMil;USA_Commission_Privateers;=;1
EvalEngagementPts = >=;20

Actions
ChgFacEngagementPts = -20
[color="Blue"]AddToRegList = $Manhattan;$Manhattan;$Philadelphia;$Philadelphia;$Queensborough;$Dorchester;$Savannah
PickFromRegList = NotEnemy[/color]
GenMsg

SelectFaction = $USA
CreateGroup
Posture = $Defensive
SetKind = $Land
Entranch = 0
InCS = 0
FixType = 0
SetName = _genName
Apply
CreateUnit
SetType = $uni_USA_1812Pri1
SetName = _genName
Apply
Replacement = USA;$famLightWarship;2

SelectFaction = $GBR
GenTextMsg = opt_notify_USA_GBR_Commission_Privateers;1;NULL;NULL;NULL

SelectFaction = $USA
[color="red"]GenTextMsg = opt_notify_USA_Commission_Privateers;1;NULL;NULL;NULL[/color]
ChangeActorPool = $gmaOptionMil;MaxUse;0;ResetFreq;0;ImageID;Opt_1812_constitution.png;Title;opt_title_USA_Commission_Privateers;MsgString;opt_desc_USA_Commission_Privateers;ToolString;opt_hint_USA_Commission_Privateers;SubType;USA_Commission_Privateers;SParam1;USA

EndEvent


The bold red GenTextMsg line is what the player 'sees', but it doe not take them to the location selected.
Normally, the GenMsg right after the blue PickFromRegList would do that, but it seems to be ignored in this case.

How can we get the 'jump to location' to work when we click on the message?
Always ask yourself: "Am I part of the Solution?" If you aren't, then you are part of the Problem!
[CENTER][/CENTER]
[CENTER]Visit AGEWiki - your increasingly comprehensive source for information about AGE games[/CENTER]

[CENTER]Rules for new members[/CENTER]
[CENTER]Forum Rules[/CENTER]

[CENTER]Help desk: support@slitherine.co.uk[/CENTER]

Return to “WIA Mods”

Who is online

Users browsing this forum: No registered users and 30 guests