A Control Link to control the polygon_flags (in a token set) in a Polygon.
We aren't trying to change the Polygon's Token Set, however; instead, we're trying to set (or unset) individual flags within the Polygon's Token Set. Consequently, instead of having one Expression for the entire token set, we use one Expression per flag that we care to change.
| SE_STRING | description; | (notes) |
|---|
| SE_UINT32 | hat_test_expr_index; | (notes) |
|---|---|---|
| SE_UINT32 | collidible_expr_index; | (notes) |
| SE_UINT32 | invisible_expr_index; | (notes) |
| SE_UINT32 | laser_range_finding_expr_index; | (notes) |
A text description of what the Control_Link is for
index of the expression whose value controls the inclusion or exclusion of SE_HAT_TEST_POLYGON within the polygon_flags field (a token set) of the affected <Polygon>. If 0, the SE_HAT_TEST_POLYGON portion of the token set of the <Polygon> is not controlled. If non-zero, then the index will refer to a boolean expression, where true means that the SE_HAT_TEST_POLYGON token should be added to the token set, and false means that the token should be cleared from the set.
index of the expression whose value controls the inclusion or exclusion of SE_COLLIDIBLE_POLYGON within the polygon_flags field (a token set) of the affected <Polygon>. If 0, the SE_COLLIDIBLE_POLYGON portion of the token set of the <Polygon> is not controlled. If non-zero, then the index will refer to a boolean expression, where true means that the SE_COLLIDIBLE_POLYGON token should be added to the token set, and false means that the token should be cleared from the set.
index of the expression whose value controls the inclusion or exclusion of SE_INVISIBLE_POLYGON within the polygon_flags field (a token set) of the affected <Polygon>. If 0, the SE_INVISIBLE_POLYGON portion of the token set of the <Polygon> is not controlled. If non-zero, then the index will refer to a boolean expression, where true means that the SE_INVISIBLE_POLYGON token should be added to the token set, and false means that the token should be cleared from the set.
index of the expression whose value controls the inclusion or exclusion of SE_LASER_RANGE_FINDING_POLYGON within the polygon_flags field (a token set) of the affected <Polygon>. If 0, the SE_LASER_RANGE_FINDING_POLYGON portion of the token set of the <Polygon> is not controlled. If non-zero, then the index will refer to a boolean expression, where true means that the SE_LASER_RANGE_FINDING_POLYGON token should be added to the token set, and false means that the token should be cleared from the set.