Click or drag to resize

TriggerBlockIndexOfTrigger Method

[This is preliminary documentation and is subject to change.]

Operates like IndexOf for Triggers

Namespace:  Monkeyspeak
Assembly:  Monkeyspeak (in Monkeyspeak.dll) Version: 7.0.10.28723 (7.0.10.28723)
Syntax
public int IndexOfTrigger(
	TriggerCategory cat,
	int id = -1,
	int startIndex = 0
)

Parameters

cat
Type: MonkeyspeakTriggerCategory

[Missing <param name="cat"/> documentation for "M:Monkeyspeak.TriggerBlock.IndexOfTrigger(Monkeyspeak.TriggerCategory,System.Int32,System.Int32)"]

id (Optional)
Type: SystemInt32

[Missing <param name="id"/> documentation for "M:Monkeyspeak.TriggerBlock.IndexOfTrigger(Monkeyspeak.TriggerCategory,System.Int32,System.Int32)"]

startIndex (Optional)
Type: SystemInt32

[Missing <param name="startIndex"/> documentation for "M:Monkeyspeak.TriggerBlock.IndexOfTrigger(Monkeyspeak.TriggerCategory,System.Int32,System.Int32)"]

Return Value

Type: Int32
Index of trigger or -1 if not found
See Also