HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Alt supresion and spawning of runes

06-05-2006, 03:47 PM#1
Belphegor666
Ok so I need two things:
1. A way to supress Alt button, so it won't work for a player trying to see the units
2. What is the easiest way to make a non-leak multi rune respawn system. When a unit picks up the rune in 15-35 seconds (random number in that interval) a rune will pop up again. There are like 4 types of rune and for each type a 4 different runes. I want a field to spawn only the same types of rune. This is out of my skills. Any help?
06-05-2006, 03:50 PM#2
Vexorian
1. is impossible, you can use Aloc or something in the units so they don't show the health bar / are unselectable.
2. local variables and waits
06-05-2006, 03:55 PM#3
blu_da_noob
For number 1, adding and removing the 'Aloc' ability from a unit makes its hp bar not show up and it isn't click selectable (only 'drag selectable').
06-05-2006, 04:01 PM#4
Blade.dk
You could also disable drag selection and set the selection circle size or whatever it is called to something negative, I think that makes the hp bar not show.
06-05-2006, 04:04 PM#5
Tim.
Right, selection size -1 will result in both the selection circle and HP bar being hidden.
06-05-2006, 04:35 PM#6
Soulprovider
Quote:
Originally Posted by Belphegor666
Ok so I need two things:
1. A way to supress Alt button, so it won't work for a player trying to see the units
2. What is the easiest way to make a non-leak multi rune respawn system. When a unit picks up the rune in 15-35 seconds (random number in that interval) a rune will pop up again. There are like 4 types of rune and for each type a 4 different runes. I want a field to spawn only the same types of rune. This is out of my skills. Any help?

1. Set up a trigger that if a player presses the Alt button then either they move somewhere else or defeat the game for the triggering player.

2. Unable to help you there
06-05-2006, 05:12 PM#7
Anitarf
Quote:
Originally Posted by Soulprovider
1. Set up a trigger that if a player presses the Alt button then either they move somewhere else or defeat the game for the triggering player.
That's bullshit, you can't detect when a player presses the alt button.
06-05-2006, 07:01 PM#8
Captain Griffen
Trigger:
Game - Enable pre-selection functionality (Disable pre-selection circles, life bars, and object info)
06-05-2006, 07:56 PM#9
Belphegor666
Yeah it helps Griffen, but it makes interface a bit quirky. I'll see if it affects the gameplay the way it shouldn't.
06-06-2006, 02:50 AM#10
Soulprovider
Quote:
Originally Posted by Anitarf
That's bullshit, you can't detect when a player presses the alt button.

I stand corrected I thought that with the Keyboard event you could do that.

I didn't realize that it was for the arrow keys only