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

[Trigger] Respawn Problem

Status
Not open for further replies.
Level 3
Joined
Jun 14, 2007
Messages
33
Here's a trigger Johnny made, but there is a problem with the ONE Custom Script... How could I change it, if you know the Problem, please tell me!

Custom Script: call CreateNUnitsAtLoc( 1 udg_RType[WhichType], Player(PLAYER_NEUTRAL_AGGRESIVE), udg_RPOINT[WhichType] bj_UNIT_FACING

Now what I want to do is change the "Player(PLAYER_NEUTRAL_AGGRESIVE)" part to PLAYER12 so it'll work, but I don't understand, I've tried "(Player12(Brown))" and just "(Player12)" but none work, please help. Here is the link: http://hiveworkshop.com/forums/showthread.php?t=34577 Read Fireeye's post(s) and tell me what's the matter please.

Thanks for any help and for your time! :thumbs_up:
 
Last edited:
Level 2
Joined
May 31, 2007
Messages
20
If you want to spawn the units for Player 12, you'll need to write the command like this.
JASS:
call CreateNUnitsAtLoc( 1, udg_RType[WhichType], Player(11), udg_RPOINT[WhichType], bj_UNIT_FACING)

btw, you forgot some "," in your call ^^
 
Level 3
Joined
Jun 14, 2007
Messages
33
is that in JASS?
cause I can't erad JASS, and that is already hard enough to read. =(
O, nvm, I see that it isn't jass, =P, SORRY, I'm a retard... hmm, maybe I should try that game... =D
 
Last edited:
Status
Not open for further replies.
Top