home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Joystick Magazine 2002 December
/
JOY143_CD1.iso
/
Data
/
Demos
/
Platoon
/
pl_demo.exe
/
Inf
/
Gamelogic
/
GameEvents
/
uSub.SMS_FireHoldingPosition-G-Stand-NG-Crawl.inf
< prev
next >
Wrap
INI File
|
2002-10-14
|
3KB
|
218 lines
[uSub.SMS_FireHoldingPosition/G-Stand-NG-Crawl : cESEvent]
{
Name = uSub.SMS_FireHoldingPosition/G-Stand-NG-Crawl
Enabled = 1
Type = 2
RefreshRate = 0
[Procedures *]
{
[: cESIf]
{
Note = "Guard mode-ban van?"
[Condition : cESCNumEquals]
{
Note = ""
[Value1 : cESFIntFromMember]
{
VariableName = GuardMode
[Object : cSGetByThisUnit]
{
}
}
[Value2 : cESFIntConst]
{
Value = 1
}
}
[Then *]
{
[: cESIf]
{
Note = ""
[Condition : cESCNumEquals]
{
Note = ""
[Value1 : cUGetMovementStyle]
{
}
[Value2 : cUEnumMovementStyle]
{
EMovementStyle = 3
}
}
[Then *]
{
[: cUSetCommandSubState]
{
[State : cESFIntConst]
{
Value = -1
}
}
}
[Else *]
{
[: cESIf]
{
Note = ""
[Condition : cESCNumEquals]
{
Note = ""
[Value1 : cUGetCommandSubState]
{
}
[Value2 : cESFIntConst]
{
Value = 0
}
}
[Then *]
{
[: cESLog]
{
Text = "Changing movement style for FireHoldingPosition: FAST (Guard mode ON)"
}
[: cUSetMovementStyle]
{
Style = 3
[Unit : cGetThisUnit]
{
}
}
[: cUSetCommandSubState]
{
[State : cESFIntConst]
{
Value = 1
}
}
}
[Else *]
{
}
}
}
}
}
[Else *]
{
[: cESIf]
{
Note = ""
[Condition : cESCNumEquals]
{
Note = ""
[Value1 : cUGetMovementStyle]
{
}
[Value2 : cUEnumMovementStyle]
{
EMovementStyle = 1
}
}
[Then *]
{
[: cUSetCommandSubState]
{
[State : cESFIntConst]
{
Value = -1
}
}
}
[Else *]
{
[: cESIf]
{
Note = ""
[Condition : cESCNumEquals]
{
Note = ""
[Value1 : cUGetCommandSubState]
{
}
[Value2 : cESFIntConst]
{
Value = 0
}
}
[Then *]
{
[: cESLog]
{
Text = "Changing movement style for FireHoldingPosition: CRAWL (Guard mode OFF)"
}
[: cUSetMovementStyle]
{
Style = 1
[Unit : cGetThisUnit]
{
}
}
[: cUSetCommandSubState]
{
[State : cESFIntConst]
{
Value = 1
}
}
}
[Else *]
{
}
}
}
}
}
}
}
}