• 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.

Making Traps Work

Status
Not open for further replies.
Level 2
Joined
Mar 13, 2012
Messages
19
In my map, I added some traps, but I don't know how to get them to work by using the Trigger. Plus the traps just blocks the characters without inflicting any damages. So what are the Triggers for traps?
 
Level 2
Joined
Mar 13, 2012
Messages
19
Not really.

The traps I have on the map are fire traps and spike traps. I want the fire traps to burn the characters by inflicting fire damages, and I want the characters to walk over the spike traps and lose some HP when the spike traps are triggered.
 
Level 2
Joined
Mar 13, 2012
Messages
19
I checked out your traps, but is there a way that I can transfer the trap triggers into my map without importing them. When I imported some triggers, the program replaced all my triggers.
 
Level 14
Joined
Apr 20, 2009
Messages
1,543
You can merge trigger data with JassNewGenPack.
It's under Extensions -> Merge Trigger Data
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
If it replaced your trigger, then it perhaps has the same variable name
First, change the name of the variables (all of it) in MY test map to something else (but make it meaningful or you can add some prefix or suffix to it)

And after that, import it right away, it should not overwrite your variable in your map because now it has different name
 
Status
Not open for further replies.
Top