Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

How would i go about adding outputs
#1

I was wondering if anyone out here on the interweb could help me figure out my problem.

i play a build server on hl2dm quit often and want to attach an entity to a prop. say for instance I want to attach a point_tesla to a melon with the tesla only going off when the melon is punted or broken, can someone give me an example of how to do this. thanks a bunch
Reply
#2

I don't know all the inputs and outputs of the entities, but you can do something like:

e_fire AddOutput "OnBreak tesla,fire"

This assumes you are running SourceOP. If not, replace e_fire with ent_fire but you will have to have sv_cheats. If it doesn't work for you, let me know and I will double-check the syntax.
Reply
#3

thanks man, i work alot with hammer so i know quite a bit about how entities work so with this info i should be able to make some pimp stuff. i see problems tho, first off that does not create the tesla, just give an output, maybe i wasn't specific enough, i need to make a tesla beam, parent it to the melon, and have to activate when the melon is broke which the line of code you gave me look like it will do the last part fine. any more help??

also it is a sourceop server so it would be e_fire
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)