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

[General] Error in every JNGPE version I have.

Status
Not open for further replies.
Level 21
Joined
Mar 27, 2012
Messages
3,232
It appears that NewGen World Editor has removed one thing that is very important to me. No version of NewGen has it, but the original WC3 WE does.
Today I downloaded and installed the newest version of JNGPE and this problem is still there. Pics will explain.
Can it be fixed? Can I fix it myself somehow?
 

Attachments

  • OrigFTWE.JPG
    OrigFTWE.JPG
    91.2 KB · Views: 163
  • NewestJNGPE.JPG
    NewestJNGPE.JPG
    86.5 KB · Views: 118
Last edited:
Level 28
Joined
Jan 26, 2007
Messages
4,789
I always use custom scripts for that. It's pretty easy too.
Create an integer variable named "handleId" (you'd better do this anyway, even if that stuff actually worked).
Then use set udg_handleId = GetHandleId( handle )

"handle" can be something like:
  • "GetTriggerUnit()" (Triggering Unit)
  • "GetEnumUnit()" (Picked Unit)
  • "udg_VarName" (the variable "VarName", like a unit variable or something).
Obviously you can do more with it, but those are the most common ones I believe.

Then use handleId where you would normally use the function "Get Handle ID".
It should look like this:
  • Custom script: set udg_handleId = GetHandleId( GetTriggerUnit() )
  • Unit - Kill (Load handleId of value in hashtable)
If you don't want that, then you can just use the normal WE.
 
Status
Not open for further replies.
Top