...and it returned nothing. It's like the function isn't even being called. Any idea what I might be doing wrong?function gadget:Explosion(weaponID, px, py, pz, ownerID)
Spring.Echo(weaponID, px, py, pz, ownerID)
end
gadget:Explosion
Moderator: Moderators
gadget:Explosion
Trying to do some fancy stuff with explosions. Wrote the following code in a Gadget's synced loop:
Re: gadget:Explosion
Script.SetWatchWeapon(number weaponDefID, boolean state)
Re: gadget:Explosion
Not to be more obtuse than usual, but where do I invoke that? Within the Explosion loop, or do I need to use COB-->Lua and set it up when the Unit's created, or is prepping to fire? I take it that watching a weapon must be expensive?
Re: gadget:Explosion
Nevermind, I've got it. I'll post up some code here in a bit, I've gotten an idea about how to do some interesting stuff.
[EDIT]
Forget "interesting". This may completely change how we do effects with this engine.
[/EDIT]
[EDIT]
Forget "interesting". This may completely change how we do effects with this engine.
[/EDIT]
Re: gadget:Explosion
Yeah, we call that LUPS.
Re: gadget:Explosion
<laughs>
Sorry, but no. It's not LUPS. Not even slightly. Much more useful. Screenshots when I've refined the content a bit.
Sorry, but no. It's not LUPS. Not even slightly. Much more useful. Screenshots when I've refined the content a bit.