Ignoring Control Lines

From Sierra Wiki
Revision as of 09:00, 28 April 2025 by Andrew Branscom (talk | contribs) (Created page with "Category:SCI Pages Category:SCI Pages to be Edited SCI Tutorials and Guides Table of Contents <div align="center"><span style="font-size: 22pt"></span><br />''By Shane Cloud''</div> If you want to make it so specific actors can walk through walls, it is as simple as telling them to ignore the white control lines. So if you had a ghost for example who could pass through walls. The instance would be the same for any regular actor...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

SCI Tutorials and Guides Table of Contents


If you want to make it so specific actors can walk through walls, it is as simple as telling them to ignore the white control lines. So if you had a ghost for example who could pass through walls. The instance would be the same for any regular actor, except when you init it try doing this.

Code:
(GhostMan:ignoreControl(ctlWHITE)init())


GhostMan can now walk through all white control lines. Similarly, if you would like a character to not cross say the blue control line you could also use.

Code:
(GhostMan:observeControl(ctlBLUE)init())