Garry's Mod Wiki

Garry's Mod Wiki

  boolean ENTITY:AddOutputFromAcceptInput( string name, string data )

Description

A helper function for creating Scripted Entities.

Similar to ENTITY:AddOutputFromKeyValue, call it from ENTITY:AcceptInput and it'll return true if it successfully added an output from the passed input data.

Arguments

1 string name
The input name from ENTITY:AcceptInput.
2 string data
The input data from ENTITY:AcceptInput.

Returns

1 boolean
Whether any outputs were added or not.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...