home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Joystick Magazine 2002 December
/
JOY143_CD1.iso
/
Data
/
Demos
/
Platoon
/
pl_demo.exe
/
Inf
/
Gamelogic
/
GameEvents
/
uCmd.UnmountVehicle.inf
< prev
next >
Wrap
INI File
|
2002-10-14
|
2KB
|
149 lines
[uCmd.UnmountVehicle : cESEvent]
{
Name = uCmd.UnmountVehicle
Enabled = 1
Type = 1
RefreshRate = 0
[Procedures *]
{
[: cESIf]
{
Note = "Command == UNMOUNT"
[Condition : cESCNumEquals]
{
Note = ""
[Value1 : cUGetCommandType]
{
}
[Value2 : cUEnumCommand]
{
ECommand = 23
}
}
[Then *]
{
[: cESIf]
{
Note = "state == 0"
[Condition : cESCNumEquals]
{
Note = ""
[Value1 : cUGetCommandState]
{
}
[Value2 : cESFIntConst]
{
Value = 0
}
}
[Then *]
{
[: cUSetCommandState]
{
[State : cESFIntConst]
{
Value = 1
}
}
[: cUUnmount]
{
}
[: cEFreeze]
{
GroupName = ""
Time = 10
[Target : cGetThisUnit]
{
}
}
}
[Else *]
{
}
}
[: cESIf]
{
Note = "state == 1"
[Condition : cESCNumEquals]
{
Note = ""
[Value1 : cUGetCommandState]
{
}
[Value2 : cESFIntConst]
{
Value = 1
}
}
[Then *]
{
[: cESIf]
{
Note = "Is finished ?"
[Condition : cESCNot]
{
Note = ""
[Condition : cUIsFrozen]
{
Note = ""
[Unit : NULL]
{
}
}
}
[Then *]
{
[: cUCommandCompleted]
{
}
}
[Else *]
{
}
}
}
[Else *]
{
}
}
}
[Else *]
{
}
}
}
}