Garry's Mod Wiki

ENTITY:AddOutputFromAcceptInput

ENTITY:AddOutputFromAcceptInput

  boolean ENTITY:AddOutputFromAcceptInput( string name, string data )

Just Added

This was just added in the latest version (2021.12.15). It might only be available on the Dev Branch right now.

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.

Special Pages


Wikis

?

Render Time: 31ms

DB GetPage 3
Generate Html 8
SaveChanges (1) 8
Render Body 0
Render Sidebar 10