This trigger takes an ID number as a required argument. It returns the number of projectiles currently owned by the player and having the specified ID number.
Expression evaluating to an ID number.
If a negative ID is specified, then the ID defaults to 0. Returns bottom if exprn evaluates to bottom.
trigger1 = NumProjID(1234) = 1
Triggers if there the player currently owns exactly 1 projectile with the ID number 1234.
Projectile (SCTRL) 1.0 + 1.1b
Keep in mind that the NumProjID trigger only detects projectiles that have been created through the use of the Projectile SCTRL. Helper-based projectiles will not be detected by this trigger.
Additionally, because all projectiles created through the use of the Projectile SCTRL immediately become owned by the root (player character) when created, attempting to use the NumProjID trigger from inside a helper state will always return a value of 0, even if the projectile was created by that same helper. Due to this, you should use the redirect "root,NumProjID" trigger instead if you intend to use the NumProjID trigger from within a helper state.