- Joined
- Oct 12, 2016
- Messages
- 769
I actually have 2 problems, but this one is the most important.
Problem 1:
Is there a way in triggers or custom scripting to detect which race a player selected on the game menu?
I have 5 races in my map, and want to assign starting units based on the race selected.
This includes when someone selects "random."
Problem 2:
I want to put a special effect into this custom script here:
it plays the "Abilities\Spells\Human\Heal\HealTarget.mdl" special effect at that location.
Does anyone know what to put in there?
Problem 1:
Is there a way in triggers or custom scripting to detect which race a player selected on the game menu?
I have 5 races in my map, and want to assign starting units based on the race selected.
This includes when someone selects "random."
Problem 2:
I want to put a special effect into this custom script here:
-
call SetUnitUserData(CreateUnit(Player(12),i,GetLocationX(udg_CreepPoint[ii]),GetLocationY(udg_CreepPoint[ii]),270),ii)
it plays the "Abilities\Spells\Human\Heal\HealTarget.mdl" special effect at that location.
Does anyone know what to put in there?