• 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.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

is there a way to check cast points and other points?

Status
Not open for further replies.
Level 5
Joined
Jan 2, 2013
Messages
84
im creating a campaign map, with custom units. i was wondering if theres a way to check the models cast points and animation points. or what do you guys do to adjust yours? i was editing alittle bit at a time and then run to see if i like it, but i got alot of units to trial and error so i came here to ask
 

Attachments

  • pic.png
    pic.png
    7.2 KB · Views: 9
Level 43
Joined
Feb 27, 2007
Messages
5,424
You can get Cast Point and Cast Backswing only, not the others. Recent version of wc3 have included the native to do so for any such unit field, but only some fields have an associated object so the engine knows what data to give you. With a memory hack in principle the other stuff could be learned but it might be trial and error to find it.

JASS:
native BlzGetUnitRealField takes unit whichUnit, unitrealfield whichField returns real
constant unitrealfield UNIT_RF_CAST_BACK_SWING = ConvertUnitRealField('ucbs')
constant unitrealfield UNIT_RF_CAST_POINT = ConvertUnitRealField('ucpt')
  • Set Var = (Unit: (Triggering unit)'s Real Field: Animation - Cast Backswing ('ucbs'))
  • Set Var = (Unit: (Triggering unit)'s Real Field: Animation - Cast Point ('ucpt'))
 
Level 5
Joined
Jan 2, 2013
Messages
84
is there a program or something that lets me play their animation show in milliseconds and i can pause it and record data or a model viewer that lets me click a point and show me numbers?
 
Status
Not open for further replies.
Top