• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[JASS] Getting a triggering player's number.

Status
Not open for further replies.
Level 7
Joined
Dec 8, 2008
Messages
243
First off I read the Jass tutorials, (for the love of god, don't flame me)...(and by read I mean browsed...)

Anyway, keeping it short.

I've got this...
  • (GetConvertedPlayerId(GetTriggerPlayer()))
I'm trying to get it to get the triggering players number but as you can probably already tell, it's not right.
 
Not strange :)
The "converted" function is the GUI-Wrapper and returns values from 1-16. The "normal" function uses normal numbers from 0-15.

Yes, this would explain why it doesn't work. :) but no worries. I just consider this educational. :pal:

[edit] Oh, well in that case, I was just 1 bracket off being correct. ^^
 
Status
Not open for further replies.
Back
Top