home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Joystick Magazine 2002 December
/
JOY143_CD1.iso
/
Data
/
Demos
/
Platoon
/
pl_demo.exe
/
Inf
/
Gamelogic
/
GameEvents
/
Goal.TurnToFiringEnemy.Exec.inf
< prev
next >
Wrap
INI File
|
2002-10-14
|
1KB
|
85 lines
[Goal.TurnToFiringEnemy.Exec : cESEvent]
{
Name = Goal.TurnToFiringEnemy.Exec
Enabled = 1
Type = 4
RefreshRate = 0
[Procedures *]
{
[: cESIf]
{
Note = ""
[Condition : cESCNumEquals]
{
Note = ""
[Value1 : cSGetGoalState]
{
}
[Value2 : cESFIntConst]
{
Value = 0
}
}
[Then *]
{
[: cSRegisterEvent]
{
EventType = 1
[Entity : cSRetrieveCmdTarget]
{
VarName = ClosestFiringEnemy
}
[LifeTime : cESGetGlobalParameter]
{
ParamName = soundevent_reprocess_delay
}
}
[: cSSetGoalState]
{
[State : cESFIntConst]
{
Value = 1
}
}
[: cCGeneral]
{
Type = 1
CommandDelay = 1
Command = 26
[Squad : cSGetByThisSquad]
{
}
[Target : cSRetrieveCmdTarget]
{
VarName = ClosestFiringEnemy
}
[IntParam : NULL]
{
}
}
}
[Else *]
{
}
}
}
}