I want to do different actions in game and in replay...
Apr 12, 2009 #1 T TERRYperfect New Member Reaction score 0 I want to do different actions in game and in replay...
Apr 12, 2009 #3 trb92 Throwing science at the wall to see what sticks Reaction score 142 PandaMine has a script to do that at one time over on wc3c. Apparently, it should work. It's in vJass, so you'll need JNGP to use it.
PandaMine has a script to do that at one time over on wc3c. Apparently, it should work. It's in vJass, so you'll need JNGP to use it.
Apr 12, 2009 #4 Azlier Old World Ghost Reaction score 461 To use that, make a boolean variable named IsInGame. Then, add this action to your Map Initialization trigger. Trigger: Your Trigger? Custom Script: set udg_IsInGame = IsInGame() Then you can use it in triggers. If it's true, it's in game. If not, it's a replay. >Impossible. Very quick to dismiss something as impossible, are we?
To use that, make a boolean variable named IsInGame. Then, add this action to your Map Initialization trigger. Trigger: Your Trigger? Custom Script: set udg_IsInGame = IsInGame() Then you can use it in triggers. If it's true, it's in game. If not, it's a replay. >Impossible. Very quick to dismiss something as impossible, are we?