A : Rotating Sectors

Rotating Sectors permanently rotate around a pivot point. They are used for most anything...gears, doors, fans, lights, etc. They are relatively simple in construction, but you have to remember to do a lot of specific things to get them just right.

Begin by creating the sector which you want to rotate around a pivot point. Press R on the floor or ceiling if they are supposed to rotate with the sector.

Place the following sprites in your sector: S[Channel,0] (M[HearingDistance,AmbienceSound], Sp[0,Speed]). For HearingDistance, 1024 is equal to the largest grid square in BUILD. Place an S[Channel,1] somewhere in your level (usually in the middle of the sector to be rotated). The S[Channel,1] will be the pivot point for the rotating sector.

The angle of the S[Channel,0] determines how the rotation will occur. If it is angled up, then the entire map will rotate around the pivot point. If it is angled down, then only that sector will be rotated around the pivot point. The angle of the S[Channel,1] determines the direction of the rotation. If it is angled down, then the rotation will be clockwise. If it is angled up, then the rotation will be counter-clockwise.

Return to Advanced Effects