• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

[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