Let me give you an example with the current syntax:
Code: Select all
ACTOR SomeObject
{
States
Spawn:
TNT1 A 0 A_JumpIfInventory("foo",< 3,"Foobar")
Loop
Foobar:
TNT1 A 1 A_Explode
Stop
}
}
Basically, if you wanted to tell an actor to jump when an inventory item is greater than a value, you would use a > symbol in front of the number, and if it's less than, you would use a < symbol.
