Thread: Healing Aurora
View Single Post
Old 05-03-2013, 08:32 PM   #7
Fair Strides 2
Witty Programmer
 
Fair Strides 2's Avatar
 
Join Date: Jan 2012
Location: Oregon, United States
Posts: 537
Current Game: Master of Orion 2
Helpful! 
Quote:
Originally Posted by supreme kotor View Post
Thanks so much Fair Strides we can do 5 points/second that would be perfect. Just out og my own curiosity I tried to make a script myslef looking at some of the scource scripts does any scripter know if this would work for an instant heal?

My script: (Im sorry if the makes you scripters cry it's prob a bunch of garbage)
Show spoiler
Yep, I'm crying. But a good first attempt. A tip in the future: things like bHeal, which are boolean values, usually have default values(that "=" factor from my tutorial) and those can be found in nwscript.nss.

Also, "GET_FIRSTPC" wouldn't work. You'd need the following:

Code:
if(GetTag(OBJECT_SELF) == GetFirstPC())
I'll get back to you with mine later and you can compare them, 'kay?


All of my mods are available on Deadlystream.

Always remember modders: "Quality= Effort*Time"

KSE 3.3.4 is LIVE!!! Check it out here.

Check out WalkSwitch, the Walkmesh-changing tool!
Fair Strides 2 is offline   you may: quote & reply,