home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Joystick Magazine 2002 December
/
JOY143_CD1.iso
/
Data
/
Demos
/
Platoon
/
pl_demo.exe
/
Inf
/
Gamelogic
/
GameEvents
/
Goal.Hide.Eval.inf
< prev
next >
Wrap
INI File
|
2002-10-14
|
5KB
|
314 lines
[Goal.Hide.Eval : cESEvent]
{
Name = Goal.Hide.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 = "Mostanaban nem hasaltunk le."
[Condition : cESCNot]
{
Note = ""
[Condition : cSIsEventInRegistry]
{
Note = ""
Type = 5
[Squad : cSGetByThisSquad]
{
}
[Entity : cSGetByThisSquad]
{
}
}
}
[Then *]
{
[: cESIf]
{
Note = "All? Csak akkor akarunk lehasalni, ha igen. Guard?"
[Condition : cESCAnd]
{
Note = ""
[AndConditions *]
{
[: cESCNumNotEquals]
{
Note = ""
[Value1 : cSGetMovementStyle]
{
}
[Value2 : cUEnumMovementStyle]
{
EMovementStyle = 1
}
}
[: cESCNumNotEquals]
{
Note = ""
[Value1 : cESFIntFromMember]
{
VariableName = GuardMode
[Object : cSGetByThisSquad]
{
}
}
[Value2 : cESFIntConst]
{
Value = 1
}
}
}
}
[Then *]
{
[: cESSubrutine]
{
Subrutine = sSub.CalculateAttackers
}
[: cESIf]
{
Note = "Explosive-val tamadjak?"
[Condition : cSIsEventInRegistry]
{
Note = Tamadjak?
Type = 9
[Squad : cSGetByThisSquad]
{
}
[Entity : cSGetByThisSquad]
{
}
}
[Then *]
{
[: cESSetReturnValue]
{
[Value : cESFIntConst]
{
Value = 1
}
}
}
[Else *]
{
[: cESIf]
{
Note = "Nonexplosive-val tamadjak, es hasalva nem latszana"
[Condition : cESCAnd]
{
Note = "Ide kell megegy HidingModifier fuggveny osszehasonlitas !!!"
[AndConditions *]
{
[: cSIsEventInRegistry]
{
Note = ""
Type = 10
[Squad : cSGetByThisSquad]
{
}
[Entity : cSGetByThisSquad]
{
}
}
[: cESCNumGreater]
{
Note = ""
[Value1 : cEGetDistance]
{
[Source : cSGetByThisSquad]
{
}
[Dest : cSRetrieveCmdTarget]
{
VarName = AttackerNonExplosive
}
}
[Value2 : cGGetSquadVisiblyModifier]
{
GetType = 2
[Squad : cSGetByThisSquad]
{
}
}
}
}
}
[Then *]
{
[: cESSetReturnValue]
{
[Value : cESFIntConst]
{
Value = 1
}
}
}
[Else *]
{
[: cESSubrutine]
{
Subrutine = sSub.CalculateFiringEnemies
}
[: cESIf]
{
Note = "Ellenseges loveshangot hallott"
[Condition : cSIsEventInRegistry]
{
Note = ""
Type = 1
[Squad : cSGetByThisSquad]
{
}
[Entity : cSGetByThisSquad]
{
}
}
[Then *]
{
[: cESSetReturnValue]
{
[Value : cESFIntConst]
{
Value = 1
}
}
}
[Else *]
{
}
}
}
}
}
}
}
[Else *]
{
}
}
}
[Else *]
{
}
}
}
}
}
}