home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Joystick Magazine 2002 December
/
JOY143_CD1.iso
/
Data
/
Demos
/
Platoon
/
pl_demo.exe
/
Inf
/
Gamelogic
/
GameEvents
/
Goal.TurnToDamageSound.Eval.inf
< prev
next >
Wrap
INI File
|
2002-10-14
|
2KB
|
125 lines
[Goal.TurnToDamageSound.Eval : cESEvent]
{
Name = Goal.TurnToDamageSound.Eval
Enabled = 1
Type = 4
RefreshRate = 0
[Procedures *]
{
[: cESIf]
{
Note = ""
[Condition : cSIsThisGoalCurrent]
{
Note = ""
}
[Then *]
{
[: cESIf]
{
Note = ""
[Condition : cESCNot]
{
Note = ""
[Condition : cSIsIdle]
{
Note = ""
[Squad : cSGetByThisSquad]
{
}
}
}
[Then *]
{
[: cESSetReturnValue]
{
[Value : cESFIntConst]
{
Value = 1
}
}
}
[Else *]
{
[: cESLog]
{
Text = "Goal ended naturally."
}
}
}
}
[Else *]
{
[: cESIf]
{
Note = ""
[Condition : cSIsSoundEventNotInRegistry]
{
Note = ""
SoundOwner = 0
SoundType = 3
OmitSoundsByThisSquad = 1
}
[Then *]
{
[: cESIf]
{
Note = ""
[Condition : cSIsSoundEventAndSeek]
{
Note = ""
SoundOwner = 0
SoundType = 3
SeekAngle = 190
OmitSoundsByThisSquad = 1
}
[Then *]
{
[: cESSetReturnValue]
{
[Value : cESFIntConst]
{
Value = 1
}
}
}
[Else *]
{
}
}
}
[Else *]
{
}
}
}
}
}
}