Team Spartan Cookies & Milk Forums
E2 Damage Functions - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html)
+--- Forum: Expression 2 (https://teamscm.co.uk/forum-6.html)
+--- Thread: E2 Damage Functions (/thread-521.html)



E2 Damage Functions - Tommo :D - 13-10-2014

Looking at making some sort of auto return fire weapon system so just wondering are there any functions that detect if someone is damaging or firing at your ship/shield/core??

Tommo


RE: E2 Damage Functions - Blackhawk - 13-10-2014

There is a lua hook which detects damage on props but there's no e2 function for this.
Take a look at this: http://teamscm.co.uk/sfdoc/hooks.html#EntityTakeDamage


RE: E2 Damage Functions - Tommo :D - 13-10-2014

And this is why I need learn how to use sf..
Thanks for the help Blackhawk