Editing events: need help!
Posted: Mon Sep 15, 2008 1:37 pm
I need some clarification on syntax used by events!
In Peninsular War scenario we many such an event adding reinforcemets
StartEvent; 1
Conditions; NULL
MinDate; 1810/04/30
Actions; NULL
DescEvent; evt_desc_Renforts_ENG_Apr1810
[color="Red"]AddToRegList; $Santarem|$Lisboa|$Oporto
PickFromRegList; NotEnemy
SelRegInArea; $Area_Portugal|Squared|OwnedCities|CondSkip
SelectRegion; $Gibraltar|CondSkip
PickFromRegList; NotEnemy
SelectRegion; $Palma|$Port Mahon|CondSkip[/color]
Group; LAND
uni_ENG_Leith1; NULL
uni_ENG_Cotton1; NULL
uni_ENG_Bde11; NULL
uni_ENG_Cav10; 1
EndEvent ;NULL
AddToRegList; $Santarem|$Lisboa|$Oporto
PickFromRegList; NotEnemy
It creates a list of 3 Regions and pick one randomly at condition no enemy is present!
SelRegInArea; $Area_Portugal|Squared|OwnedCities|CondSkip
SelectRegion; $Gibraltar|CondSkip
PickFromRegList; NotEnemy
I ignore meaning of Squared, CondSkip commands.
OwnedCities should dictate the ownship of cities in Area_Portugal as a condition.
PickFromRegList; NotEnemy
I suppose it's referring to Owned cities in Area_Portugal plus Gibraltar.
SelectRegion; $Palma|$Port Mahon|CondSkip
SPalma and Port Mahon are the regions selectable for Group of units, (Reinforcement) deployement?
Thanks in advance for clarification!
In Peninsular War scenario we many such an event adding reinforcemets
StartEvent; 1
Conditions; NULL
MinDate; 1810/04/30
Actions; NULL
DescEvent; evt_desc_Renforts_ENG_Apr1810
[color="Red"]AddToRegList; $Santarem|$Lisboa|$Oporto
PickFromRegList; NotEnemy
SelRegInArea; $Area_Portugal|Squared|OwnedCities|CondSkip
SelectRegion; $Gibraltar|CondSkip
PickFromRegList; NotEnemy
SelectRegion; $Palma|$Port Mahon|CondSkip[/color]
Group; LAND
uni_ENG_Leith1; NULL
uni_ENG_Cotton1; NULL
uni_ENG_Bde11; NULL
uni_ENG_Cav10; 1
EndEvent ;NULL
AddToRegList; $Santarem|$Lisboa|$Oporto
PickFromRegList; NotEnemy
It creates a list of 3 Regions and pick one randomly at condition no enemy is present!
SelRegInArea; $Area_Portugal|Squared|OwnedCities|CondSkip
SelectRegion; $Gibraltar|CondSkip
PickFromRegList; NotEnemy
I ignore meaning of Squared, CondSkip commands.
OwnedCities should dictate the ownship of cities in Area_Portugal as a condition.
PickFromRegList; NotEnemy
I suppose it's referring to Owned cities in Area_Portugal plus Gibraltar.
SelectRegion; $Palma|$Port Mahon|CondSkip
SPalma and Port Mahon are the regions selectable for Group of units, (Reinforcement) deployement?
Thanks in advance for clarification!