QUOTE(ShinRa_Soldier @ Jul 26 2005, 10:30 PM)
6B6740 - deaths of unit 35748 for player 4
#1. What does the 6B6740 part mean?
#2. What would the death trigger look like for this?
Would it look like this?:
? SetDeaths(P4,SetTo,6B6740,35748); ?
[right][snapback]271348[/snapback][/right]
Ok the shield post is here:
http://www.staredit.net/index.php?showtopi...ndpost&p=2709296B6740 - deaths of unit 35748 for player 4
6B6744 - deaths of unit 35748 for player 5
See how it's 6B6740 - 6B6744 which is a range of 4 bytes. Each one of those bytes alters a different unit's shield availability.
BTW the shield availabilities start here:
6B673C - deaths of unit 35748 for player 3
So to add shields for a unit (with the ID 1), you will need this trigger:
SetDeaths(P3, Add, 1, 35748);
If you wanted to add shields for a unit (with the ID 2), you will need this trigger:
SetDeaths(P3, Add, 256, 35748);
If you wanted to add shields for a unit (with the ID 3), you will need this trigger:
SetDeaths(P3, Add, 65536, 35748);
And if you wanted to add shields for a unit (with the ID 4), you will need this trigger:
SetDeaths(P3, Add, 16777216, 35748);
Now to add shields for a unit (with the ID of 5), you will need this trigger:
SetDeaths(P4, Add, 1, 35748);
etc. I think you should get it now...