• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Trouble with raising the dead

Status
Not open for further replies.
Level 1
Joined
Jul 21, 2019
Messages
7
I made an ability to raise nearby corpses into various skeletons but it is not always raising to the max number I have indicated and I can't figure out why. I tried making a few message triggers to find out where the problem is, and I resolved some problems.

1st problem: wont raise to max skeletons.
2nd problem: will sometimes register ghost skeletons preventing it from raising. (I think i fixed this one)
 

Attachments

  • Custom Heros.w3m
    130.7 KB · Views: 23
Level 25
Joined
Feb 9, 2009
Messages
1,800
Recommend that you do not use (Integer A/B) and instead use the variable one instead.

I'll keep looking.

There are numerous leaks on:
-locations >Solution> use custom script in tutorial below to clear locations after use.
-special effect >Solution> Destroy after use
-unit group >Solution> Destroy after use or use the custom script in the tutorial below to clear it at the start.

I recommend taking a spin through this tutorial to clear them.

Also:
upload_2020-9-12_16-49-39.png

CL_Ticker is included on counting how many corpse are in the area, with these conditions any unit that isn't a corpse is counted as a corpse according to game text....
 
Last edited:
Status
Not open for further replies.
Top