| Author | Sticky: Post Working Scripts Here |
| Karthal | Posted: Wednesday, 03 July 06:20PM |
| Here are a couple of scripts that make a guard
the temporary enemy of a player when they step outside of their cell. When
they return to their cell, they are made temporary friends. The friend state
decays back to neutral. How to use: 1. Create a guard (tag: GUARD) which is stationed outside of the cell of the prisoner. Make sure they are usually neutral to the character. 2. Draw a generic trigger polygon around the area considered the prison cell. 3. Make this script the onExit script (named: cs_leave_cell):
|
|