This repository has been archived by the owner on Aug 15, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Alessio Malato edited this page Dec 5, 2015
·
4 revisions
As said in the readme, it's an entity base that has prediction enabled for player-based usage. What that means is that, like a weapon, a player can use this entity under any lag condition.
If you've ever played on a server with items such as a jetpack, you've noticed that when activating the item, your view will spaz out or you will feel like you've teleported, that is not a smooth experience.
As funny as that sounds, cleanliness mostly, you don't want hooks dangling around globally for each player, saving variables inside of the player object, and etc. Plus, this entity base was coded mainly for entities that can change owners and keep their variables intact, just like a weapon, but in pickup form.
Head over to Creating a predicted entity