Thread
:
Opening doors automatically L4D2
View Single Post
Fleepster99
Senior Member
Join Date: Apr 2010
07-18-2010 , 14:15 Re: Opening doors automatically L4D2
#
3
Quote:
Originally Posted by
dYZER
didnt know if this working for doors, but for gascan working like
AcceptEntityInput(entity, "break");
try "use" or "open" "unlock"...
AcceptEntityInput
Syntax: native bool:AcceptEntityInput(dest, const String:input[], activator=-1, caller=-1, outputid=0);
Usage: dest Destination entity index.
input Input action.
activator Entity index which initiated the sequence of actions (-1 for a NULL entity).
caller Entity index from which this event is sent (-1 for a NULL entity).
outputid Unknown.Notes: Invokes a named input method on an entity. After completion (successful or not), the current global variant is re-initalized.
Return: True if successful otherwise false.
Version Added:1.0.0.1946
On error / Errors: Invalid entity index or no mod support.
Thanks for the info but could you give me an example of how i could use this ?
Fleepster99
View Public Profile
Send a private message to Fleepster99
Find More Posts by Fleepster99