any triggers for normal units modiify?

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

User avatar
JJ2197
Legendary Genius
Posts: 1311
Joined: August 8th, 2007, 8:10 am
Title: Legendary Genius²
Location: St. George Utah

Re: any triggers for normal units modiify?

Post by JJ2197 »

I still can't seem to get it to work... I've got it called like this:

elseif SubString(s2s,0,6)=="-maxhp"then
call SetUnitMaxState(u2u,UNIT_STATE_MAX_LIFE,S2I(SubString(s2s,7,14)))
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
initialD
Some Honorary Title
Posts: 1713
Joined: June 8th, 2007, 5:08 am
Title: Angry Bird

Re: any triggers for normal units modiify?

Post by initialD »

All right get working on it......

note: JJ, it doesn't work like that. It requires a new function, even that is a simple command.
It requires RawCodes too. This means we need to get the rawcodes for everymnap we made.
:p Kinda annoying though, since Blizzard doesn't give us direct access to modify the MAX life/mana.

Edit: it required two abilities. I have no idea how to make it with only JASS....