This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
xg:class:sector_type [2011-02-15 19:28] – external edit 127.0.0.1 | xg:class:sector_type [2019-11-26 08:52] (current) – [Parameters] skyjake | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Sector type (XG class) ====== | ||
+ | |||
+ | |||
+ | |||
+ | Class = sector_type | ||
+ | |||
+ | Changes the [[sector_type|type]] of one or more sectors. | ||
+ | |||
+ | |||
+ | ===== Parameters ===== | ||
+ | |||
+ | |||
+ | ^ Prm^ Name^ Type^ Meaning | | ||
+ | | Ip0,Ip1| Target Ref, | ||
+ | | Ip2| Sector Type| Integer| Sector type ID. Must be an [[xg:sector type]], or zero. | | ||
+ | |||
+ | |||
+ | |||
+ | ===== Examples ===== | ||
+ | |||
+ | | ||
+ | Line Type { | ||
+ | ID = 5071 | ||
+ | Flags = player_use | ||
+ | Flags2 = when_act | any | ||
+ | Class = sector_type | ||
+ | Type = timed_off | ||
+ | Time = 1 | ||
+ | Count = -1 | ||
+ | Target Ref = " | ||
+ | Sector Type = 0 | ||
+ | } | ||
+ | |||
+ | When activated, all sectors whose tag is equal to that of the line being activated will have their sector type set to zero (removed). | ||
+ | |||
+ | |||