Guest User

Not Compiling Trigger

a guest
Oct 2nd, 2013
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.21 KB | None | 0 0
  1. <Trigger execMode="OnEachPlayer" name="BonusPointsTrigger">
  2. <Elements>
  3. <E type="Action" name="ActivateTrigger">
  4. <Param type="TriggerReference">
  5. <T type="Trigger" trigType="Subroutine" execMode="BonusPointsTrigger_EnumScoreZonesVarCheck" objectFilter="oddball_scorezone">
  6. <Elements>
  7. <E type="Condition" name="Comparison" unionGroupID="-2" invert="True">
  8. <Param type="ObjectReference" varRefType="Player.SlaveObject" dataType="Iterator.Player" />
  9. <Param type="ObjectReference" varRefType="ExplicitObjectType" dataType="Iterator.Object" />
  10. </E>
  11. <E type="Action" name="VariableOperation">
  12. <Param type="VarReference" varRefKind="Custom" varRefType="PlayerNumericVar" dataType="Iterator.Player">PlayerNumeric0</Param>
  13. <Param type="VarReference" varRefKind="Custom" varRefType="Int16">0</Param>
  14. <Param type="OperationType">Set</Param>
  15. </E>
  16. </Elements>
  17. </T>
  18. </Param>
  19. </E>
  20. <E type="Action" name="PlayerGetWeapon">
  21. <Param type="PlayerReference" varRefType="ExplicitPlayerType" dataType="Iterator.Player" />
  22. <Param type="Bool">True</Param>
  23. <Param type="ObjectReference" varRefType="ExplicitObjectType" dataType="ObjectScratch0" />
  24. </E>
  25. <E type="Condition" name="ObjectIsSameType" unionGroupID="-2">
  26. <Param type="ObjectReference" varRefType="ExplicitObjectType" dataType="ObjectScratch0" />
  27. <Param type="ObjectTypeIndex">ball</Param>
  28. </E>
  29. <E type="Action" name="ActivateTrigger">
  30. <Param type="TriggerReference">
  31. <T type="Trigger" trigType="Subroutine" execMode="OnObjectFilter" name="BonusPointsTrigger_EnumScoreZonesTrigger" objectFilter="oddball_scorezone">
  32. <Elements>
  33. <E type="Condition" name="ObjectIsInBoundary" unionGroupID="-2">
  34. <Param type="ObjectReference" varRefType="Player.SlaveObject" dataType="Iterator.Player" />
  35. <Param type="ObjectReference" varRefType="ExplicitObjectType" dataType="Iterator.Object" />
  36. </E>
  37. <E type="Condition" name="Comparison" unionGroupID="-2">
  38. <Param type="VarReference" varRefKind="Custom" varRefType="Player.NumericVar" dataType="Iterator.Player">PlayerNumeric0</Param>
  39. <Param type="VarReference" varRefKind="Custom" varRefType="Int16">1</Param>
  40. <Param type="ComparisonType">NotEqual</Param>
  41. </E>
  42. <E type="Action" name="ModifyScore">
  43. <Param type="TargetVar" targetType="Player" varRefType="ExplicitPlayerType" dataType="Iterator.Player" />
  44. <Param type="OperationType">Add</Param>
  45. <Param type="CustomReference" varRefType="Int16">50</Param>
  46. </E>
  47. <E type="Action" name="VariableOperation">
  48. <Param type="VarReference" varRefKind="Custom" varRefType="Player.NumericVar" dataType="Iterator.Player">PlayerNumeric0</Param>
  49. <Param type="VarReference" varRefKind="Custom" varRefType="Int16">1</Param>
  50. <Param type="OperationType">Set</Param>
  51. </E>
  52. </Elements>
  53. </T>
  54. </Param>
  55. </E>
  56. </Elements>
  57. </Trigger>
Advertisement
Add Comment
Please, Sign In to add comment