• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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: 162
  • NewestJNGPE.JPG
    NewestJNGPE.JPG
    86.5 KB · Views: 117
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