![]() ![]() SetParentAttachmentMaintainOffset As above, but without teleporting. Entities must be parented before being sent this input. ![]() The entity will teleport so that the position of its root bone matches that of the attachment. SetParentAttachment Change this entity to attach to a specific attachment point on its parent. The name should match the key of an existing context. RemoveContext Remove a context from this entity's list. KillHierarchy Functions the same as Kill, although this entity and any entities parented to it are killed on the same frame, being marginally faster than Killinput. Kill Removes this entity and any entities parented to it from the world. FireUser1 to FireUser4 Fires the respective OnUseroutputs see User Inputs and Outputs. WATER SPLASH PNG GAME FREEClearParent Removes this entity from the the movement hierarchy, leaving it free to move independently. // Raw text : "OnUser1" "!self,AddOutput,OnUser1:ClearParent::0.0:-1" ClearContext Removes all contexts from this entity's list. Format of changing KeyValues : "AddOutput " //// Raw text : "OnUser1" "!self,AddOutput,targetname new_name" // Format of adding an Output : "AddOutput " //// Raw text : "OnUser1" "!self,AddOutput,OnUser1:SetParent:!activator:0.0:-1" // Arguments can be left blank, but the empty blank should still be contained. Should be used very sparingly! Is Automatic-Aim Target (is_autoaim_target) (in all games since ) !FGD If set to 1, this entity will slow down aiming movement for consoles and joystick controllers when the entity is under the crosshairs. Lag Compensation (LagCompensate) (in all games since ) !FGD Set to Yes to lag compensate this entity. Avoid expensive operations in this function, as it may cause performance problems. Thinker function (thinkfunction) (in all games since ) Name of the function within this entity's script that'll be called automatically every 100 milliseconds, or a user-defined interval if the function returns a number. The scripts are all executed in the same script scope, later ones overwriting any identical variables and functions. Entity Scripts (vscripts) (in all games since ) Space delimited list of VScript files (without file extension) that are executed after all entities have spawned. Effects (effects) !FGD Combination of effect flags to use. Tip: Changing this on runtime still has use, like making matching an entry in S_PreserveEnts will persist the entity on new rounds! Flags (spawnflags) !FGD Toggles exclusive features of an entity, its specific number is determined by the combination of flags added. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |