script and npc changes

This commit is contained in:
EpicValor
2023-09-02 22:56:38 -05:00
parent be5bd6b0bc
commit b3a5e77663
18 changed files with 1916 additions and 58 deletions

View File

@@ -18,8 +18,8 @@ void main()
float fOrient = GetFacing( oBench );
// Calculate location of the 2 pillows
location locPillow1 = Location( oArea, locBench + AngleToVector( fOrient + 90.0f ) / 2.0f, fOrient );
location locPillow2 = Location( oArea, locBench + AngleToVector( fOrient - 90.0f ) / 2.0f, fOrient );
location locPillow1 = Location( oArea, locBench + AngleToVector( fOrient + 90.0f ) / 2.1f, fOrient );
location locPillow2 = Location( oArea, locBench + AngleToVector( fOrient - 90.0f ) / 2.1f, fOrient );
// Create the 2 pillows
oPillow1 = CreateObject( OBJECT_TYPE_PLACEABLE, "plc_invisobj", locPillow1 );