MR. INVINCIBLE
Moderator: Cheaters
- 
				gudson
														 - Junior Member
 - Posts: 34
 - Joined: July 31st, 2007, 4:06 am
 - Title: Smile
 
MR. INVINCIBLE
can someone tell me how to make units invulnerable using jasscraft, not world editor, i wanna do this to swat so i can solo survival as rank 1.
			
			
									
						- 
				colmo
														 - V.I.P.
 - Posts: 329
 - Joined: June 13th, 2007, 4:42 pm
 - Title: Wc3 is for Nerds!!!!
 
Re: MR. INVINCIBLE
You could just have some1 put in a jasspack for you then -invul 
			
			
									
						...................................................................................................................

[blinking]How Do You Like Me Now? Also Im Going To Capitolize Every Word That I Type From Now On Just To Be Annoying.[/blinking]
			
						
[blinking]How Do You Like Me Now? Also Im Going To Capitolize Every Word That I Type From Now On Just To Be Annoying.[/blinking]
- 
				JJ2197
														 - Legendary Genius
 - Posts: 1311
 - Joined: August 8th, 2007, 8:10 am
 - Title: Legendary Genius²
 - Location: St. George Utah
 
Re: MR. INVINCIBLE
Well here it is:
local unit u
if SubString(s,0,6)=="-invul"then
call SetUnitInvulnerable(u,true)
It is used in Dekar's/Aero's pack here
			
			
									
						local unit u
if SubString(s,0,6)=="-invul"then
call SetUnitInvulnerable(u,true)
It is used in Dekar's/Aero's pack here
Computer Specs:
Motherboard: GA-990FXA-UD3
CPU: FX-8350 @ 4.0GHz
PSU: Corsair CX500
RAM: G.Skill Ripjaws X 8GB @ 1866
GPU: Radeon HD 4870 1GB
HDD: OCZ Vertex series 30GB SSD
Case: Antec 900
Monitor: Toshiba 32"
OS: Windows 7 Ultimate
			
						Motherboard: GA-990FXA-UD3
CPU: FX-8350 @ 4.0GHz
PSU: Corsair CX500
RAM: G.Skill Ripjaws X 8GB @ 1866
GPU: Radeon HD 4870 1GB
HDD: OCZ Vertex series 30GB SSD
Case: Antec 900
Monitor: Toshiba 32"
OS: Windows 7 Ultimate
- 
				Aero
														 - Forum Staff
 - Posts: 829
 - Joined: January 28th, 2007, 8:10 pm
 - Title: JASS Programmer
 - Location: Canada
 
Re: MR. INVINCIBLE
call SetUnitInvulnerable(unit,boolean)
unit = The unit to be vulnerable/invulnerable
boolean = true (If you want to make the unit invulnerable)
boolean = false (If you want to make the unit vulnerable)
			
			
									
						unit = The unit to be vulnerable/invulnerable
boolean = true (If you want to make the unit invulnerable)
boolean = false (If you want to make the unit vulnerable)