Synchronized TTC elevator

This commit is contained in:
MysterD 2020-10-11 14:38:30 -07:00
parent 83baf2eac6
commit 63af39cd53
1 changed files with 5 additions and 0 deletions

View File

@ -23,6 +23,11 @@ void bhv_ttc_elevator_init(void) {
((o->oBehParams >> 16) & 0xFFFF) != 0 ? 100.0f * ((o->oBehParams >> 16) & 0xFFFF) : 500.0f;
o->oTTCElevatorPeakY = o->oPosY + peakOffset;
struct SyncObject* so = network_init_object(o, 4000.0f);
so->minUpdateRate = 5.0f;
network_init_object_field(o, &o->oTTCElevatorDir);
network_init_object_field(o, &o->oTTCElevatorMoveTime);
}
/**