Raised This Month: $51 Target: $400
 12% 

Fire an entity output


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
unt0uch4bl3
Junior Member
Join Date: Apr 2009
Old 07-09-2010 , 00:38   Fire an entity output
Reply With Quote #1

How would I fire an output of an entity similarly to ent_fire and es_fire in eventscripts.

I searched and found this
Code:
Syntax: functag public EntityOutput(const String:output[], caller, activator, Float:delay);
but I'm not exactly sure how to use it and I couldn't find any examples any where.


Thanks
unt0uch4bl3 is offline
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 07-09-2010 , 00:41   Re: Fire an entity output
Reply With Quote #2

http://docs.sourcemod.net/api/index....ad=show&id=747

For example
PHP Code:
new String:addoutput[64];
Format(addoutputsizeof(addoutput), "OnUser1 !self:kill::%f:1"10.0);
SetVariantString(addoutput);
AcceptEntityInput(ent"AddOutput");
AcceptEntityInput(ent"FireUser1"); 
__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org
strontiumdog is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode