Hey everybody,
Couple of questions regarding MOVEUNIT commands. I have been looking at Nemo's RF events trying to get a feel for them, but there are a few things I dont quite get. These references are from 'Events1' of RF.
How exactly are those mapprecets working? Is Nemo refering to:
32,126
36,126
36,148
etc?
Also, 'numbertomove'... Does that merely pick the top X number of units in a stack at those points? And I would surmise this is affected by the AnyUnit part to... so can you for instance have all kinds of units in a stack, and tell 5 tanks to go here, 5 different tanks to go there etc...? Even all tanks of this type go here and there?
And the recieved technology trigger, can that be used with one tech that was given at the start of the scenario and is still obviously held throughout the game, or must a civ be given such a tech each turn in order to trigger the events? Can they be given the same tech everyturn by avoiding the JUSTONCE command?
And this here is very interesting:
Notice that none of the places that the Wermacht SG is created are contained within the MOVEUNIT command. Why would this be added to this specific event?
Thanks for any help,
-FMK.
Couple of questions regarding MOVEUNIT commands. I have been looking at Nemo's RF events trying to get a feel for them, but there are a few things I dont quite get. These references are from 'Events1' of RF.
@IF
RECEIVEDTECHNOLOGY
technology=60
receiver=Germans
@THEN
MOVEUNIT
unit=AnyUnit
owner=Germans
maprect
32,126,36,126,36,148,32,148
moveto
41,133
numbertomove=ALL
@ENDIF
RECEIVEDTECHNOLOGY
technology=60
receiver=Germans
@THEN
MOVEUNIT
unit=AnyUnit
owner=Germans
maprect
32,126,36,126,36,148,32,148
moveto
41,133
numbertomove=ALL
@ENDIF
32,126
36,126
36,148
etc?
Also, 'numbertomove'... Does that merely pick the top X number of units in a stack at those points? And I would surmise this is affected by the AnyUnit part to... so can you for instance have all kinds of units in a stack, and tell 5 tanks to go here, 5 different tanks to go there etc...? Even all tanks of this type go here and there?
And the recieved technology trigger, can that be used with one tech that was given at the start of the scenario and is still obviously held throughout the game, or must a civ be given such a tech each turn in order to trigger the events? Can they be given the same tech everyturn by avoiding the JUSTONCE command?
And this here is very interesting:
@IF
UNITKILLED
unit=Red Army
attacker=Germans
defender=Soviets
@THEN
CREATEUNIT
unit=Wehrmacht SG
owner=Germans
veteran=yes
homecity=None
locations
47,53
42,48
38,50
43,53
34,50
33,61
30,68
endlocations
MOVEUNIT
unit=AnyUnit
owner=Germans
maprect
33,47,39,47,39,51,33,51
moveto
42,48
numbertomove=ALL
@ENDIF
UNITKILLED
unit=Red Army
attacker=Germans
defender=Soviets
@THEN
CREATEUNIT
unit=Wehrmacht SG
owner=Germans
veteran=yes
homecity=None
locations
47,53
42,48
38,50
43,53
34,50
33,61
30,68
endlocations
MOVEUNIT
unit=AnyUnit
owner=Germans
maprect
33,47,39,47,39,51,33,51
moveto
42,48
numbertomove=ALL
@ENDIF
Thanks for any help,
-FMK.
Comment