home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Joystick Magazine 2002 December
/
JOY143_CD1.iso
/
Data
/
Demos
/
Platoon
/
pl_demo.exe
/
Inf
/
Gamelogic
/
GameEvents
/
uCmd.Hide-Civil.inf
< prev
next >
Wrap
INI File
|
2002-10-14
|
3KB
|
191 lines
[uCmd.Hide/Civil : cESEvent]
{
Name = uCmd.Hide/Civil
Enabled = 1
Type = 1
RefreshRate = 0
[Procedures *]
{
[: cESIf]
{
Note = ""
[Condition : cESCNumEquals]
{
Note = ""
[Value1 : cUGetCommandType]
{
}
[Value2 : cUEnumCommand]
{
ECommand = 5
}
}
[Then *]
{
[: cESSwitch]
{
Note = ""
[Value : cUGetCommandState]
{
}
[Case *]
{
[: cESCase]
{
Note = "0 - init"
Value = 0
[Procedures *]
{
[: cESIf]
{
Note = ""
[Condition : cESCNumEquals]
{
Note = ""
[Value1 : cUGetMovementStyle]
{
}
[Value2 : cUEnumMovementStyle]
{
EMovementStyle = 1
}
}
[Then *]
{
[: cUCommandCompleted]
{
}
}
[Else *]
{
[: cESIntToVar]
{
VariableName = Time
Keep = 1
[Value : cESGetGlobalParameter]
{
ParamName = time_civil_hide
}
}
[: cESSubrutine]
{
Subrutine = uSub.SMS_Hide
}
[: cUSetCommandState]
{
[State : cESFIntConst]
{
Value = 1
}
}
}
}
}
}
[: cESCase]
{
Note = "1 - wait and stop"
Value = 1
[Procedures *]
{
[: cESIf]
{
Note = ""
[Condition : cESCNumEquals]
{
Note = ""
[Value1 : cESFIntByVar]
{
VariableName = Time
}
[Value2 : cESFIntConst]
{
Value = 0
}
}
[Then *]
{
[: cUSetMovementStyle]
{
Style = 2
[Unit : cGetThisUnit]
{
}
}
[: cUCommandCompleted]
{
}
}
[Else *]
{
[: cESIntToVar]
{
VariableName = Time
Keep = 1
[Value : cESFIntAdd]
{
[Variable1 : cESFIntByVar]
{
VariableName = Time
}
[Variable2 : cESFIntConst]
{
Value = -1
}
}
}
}
}
}
}
}
}
}
[Else *]
{
}
}
}
}