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

[JASS] DGUI (dynamic graphic user interface) help

Status
Not open for further replies.
Level 16
Joined
Oct 12, 2008
Messages
1,570
Hello people,,,

I am trying to use the system DGUI, from warcraft3campaigns, and i edited it a little ro fit my needs (it now works for every camera setup, instead of only for the one generated by DGUI), but i have got a problem.

Anyone who is familiar with the system, knows that the basics are units. Those units are moved every interval to be on a position that is seems 2D for you.

When the system updates (every interval), the units are moved, but somehow the units arent moved right when your camera is also moving.
Could anyone help me with this?
I attached the map so you guys can see the map and my code. I also included the original triggers of DGUI (not much change, but still some).

I hope someone can find me a solution! thanks

-Yixx,,-
 

Attachments

  • DGUI Test2.w3x
    114.3 KB · Views: 147
Level 16
Joined
Oct 12, 2008
Messages
1,570
Ok, i got it to work. I screwed up by not putting this line in:
JASS:
if GameCamera.ApplyCameraForPlayer(GamePlayer,false) then
    call DGUIUpdate()
endif

If you edit this, you can freely edit the target x,y,z and eye x,y,z.
 
Status
Not open for further replies.
Top