HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Haunt Spell (JESP)

03-19-2006, 12:59 AM#1
shadow1500
The spell supports the JESP standard.

Makes some ghosts to scare the target player, the ghosts can only be seen by the target, other players will think the unit is fighting "air".
The spell has some really annoying problems:
1. Any detection ability will reveal the ghosts.
2. Requires an extra player (not neutral)
3. All ghost units (unit types) must have the same attack range.
Attached Images
File type: jpgHauntAbil.jpg (147.0 KB)
Attached Files
File type: w3xHauntSpell1.1.w3x (19.6 KB)
03-19-2006, 06:03 PM#2
shadow1500
Hello? ur suppose to either approve or disaprrove this, not just leave it there...
03-19-2006, 06:21 PM#3
Blade.dk
Shadow, please be patient. It is less than a day since you posted this, and because of certain happenings, nobody has been able to look at your map till now. I am gonna do it instantly.

EDIT: I will approve this, but you will need to fix something.

Collapse JASS:
        set dummy = CreateUnit(targetp,'e000',GetUnitX(u),GetUnitY(u),0)

The rawcode of the dummy unit must be configurable if you want it to follow the jesp standard.

Also, there are certain things like the IsUnitDeadBJ that could be improved. Also, I2R is often worthless and the Haunt_GhostUnit_Rawcode function could maybe be more userfriendly.

Anyways, the first thing needs to be fixed and I will approve this, the rest are just suggestions.
03-19-2006, 06:47 PM#4
shadow1500
srry, but if i didn't bump it now it proly would have gotten to the 2nd page, and it posted this last night, so its kinda more than a day.
03-19-2006, 06:57 PM#5
Blade.dk
Depends.

Anyways, please check my above post so I can approve this.
03-19-2006, 07:50 PM#6
shadow1500
Quote:
Originally Posted by Blade.dk
EDIT: I will approve this, but you will need to fix something.

Collapse JASS:
        set dummy = CreateUnit(targetp,'e000',GetUnitX(u),GetUnitY(u),0)

The rawcode of the dummy unit must be configurable if you want it to follow the jesp standard.
Hm, yes i forgot about that.

Quote:
Also, there are certain things like the IsUnitDeadBJ that could be improved.
ya its alot easier to use, ill fix that anyway.

Quote:
Also, I2R is often worthless
Okay, fixed.

Quote:
and the Haunt_GhostUnit_Rawcode function could maybe be more userfriendly.
kk

updated first post
03-19-2006, 08:16 PM#7
Blade.dk
Thanks for fixing it :).

Approved.