home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Joystick Magazine 2002 December
/
JOY143_CD1.iso
/
Data
/
Demos
/
Platoon
/
pl_demo.exe
/
Inf
/
Gamelogic
/
GameEvents
/
uSub.SetWeapon-Grenade_Riffle.inf
< prev
next >
Wrap
INI File
|
2002-10-14
|
1KB
|
88 lines
[uSub.SetWeapon/Grenade_Riffle : cESEvent]
{
Name = uSub.SetWeapon/Grenade_Riffle
Enabled = 1
Type = 2
RefreshRate = 0
[Procedures *]
{
[: cESIf]
{
Note = ""
[Condition : cESCNumEquals]
{
Note = ""
[Value1 : cUGetCommandIntParam]
{
}
[Value2 : cESFIntConst]
{
Value = 3
}
}
[Then *]
{
[: cUSetShootingWeaponType]
{
WeaponType = 18
}
}
[Else *]
{
[: cESIf]
{
Note = ""
[Condition : cESCNumEquals]
{
Note = ""
[Value1 : cUGetCommandIntParam]
{
}
[Value2 : cESFIntConst]
{
Value = 1
}
}
[Then *]
{
[: cUSetShootingWeaponType]
{
WeaponType = 7
}
}
[Else *]
{
[: cESLog]
{
Text = "Warning: Nonexistent weapont type! Dafaulting to primary."
}
[: cUSetShootingWeaponType]
{
WeaponType = 7
}
}
}
}
}
}
}