Guide on Scripted Effects

Scripted effects confuse me. A lot. This is pretty much because on the wiki, while their are comprehensive tutorials for SWEPS, SENTS and gamemodes (and just about anything else you care to name) there is none such for Scripted Effects. I just can’t figure out how to get them to work and stuff, so I’d like to ask one of you cool coders to write one up in the same style, I’m sure it’d help everyone and not just me!

There is no Tutorial I can find so your best chance is.

Download the darkrp money printer and take a look at it’s PrintMore function.

Or the FireBall() function

Both use effects and should help you

[editline]18th March 2011[/editline]

There is no Tutorial I can find so your best chance is.

Download the darkrp money printer and take a look at it’s PrintMore function.

Or the FireBall() function

Both use effects and should help you

Why the hell would you download darkrp, just look at how Garry is doing it

[editline]18th March 2011[/editline]

After looking at what you said to look at

[lua]
function ENT:Destruct()
local vPoint = self:GetPos()
local effectdata = EffectData()
effectdata:SetStart(vPoint)
effectdata:SetOrigin(vPoint)
effectdata:SetScale(1)
util.Effect(“Explosion”, effectdata)
Notify(self.dt.owning_ent, 1, 4, “Your money printer has exploded!”)
end
[/lua]

How is that helpful at all he wants a guide on making scripted effects not using built-in engine ones

Sorry.

I thought he wanted help using them.

[editline]18th March 2011[/editline]

Re-read op.

He does not specify.

He may need help making or using, we have for filled is need now stop getting do upset when I help.

He is asking for someone to post an example of a scripted effect I think you should read the op or at-least learn to read