Loading...
  OR  Zero-K Name:    Password:   

Post edit history

Time Travel Mechanic

To display differences between versions, select one or more edits in the list using checkboxes and click "diff selected"
Post edit history
Date Editor Before After
2/14/2016 2:30:38 AMDErank[2up]knorke before revert after revert
Before After
1 [quote]warcraft 3 mapmakers were able to code in nerubian weaver's ultimate which takes him to his position and health/mana however many seconds back in time. i have no idea how they did it[/quote] 1 [quote]warcraft 3 mapmakers were able to code in nerubian weaver's ultimate which takes him to his position and health/mana however many seconds back in time. i have no idea how they did it[/quote]
2 The trick is that WC3 has a scripting language, similiar to how spring uses Lua. ( https://www.youtube.com/watch?v=9qDfqTxKHHg ) 2 The trick is that WC3 has a scripting language, similiar to how spring uses Lua. ( https://www.youtube.com/watch?v=9qDfqTxKHHg )
3 Nerubian weaver requires: 3 Nerubian weaver requires:
4 1) A way to read nerubian weaver's position: 4 1) A way to read nerubian weaver's position:
5 http://jass.sourceforge.net/doc/api/common_j-functions.shtml#GetUnitX 5 http://jass.sourceforge.net/doc/api/common_j-functions.shtml#GetUnitX
6 http://jass.sourceforge.net/doc/api/common_j-functions.shtml#GetUnitY 6 http://jass.sourceforge.net/doc/api/common_j-functions.shtml#GetUnitY
7 2) A way to store nerubian weaver's position of the last few seconds 7 2) A way to store nerubian weaver's position of the last few seconds
8 JASS has the usual stuff like arrays: http://www.wc3c.net/vexorian/jasshelpermanual.html#storarray 8 JASS has the usual stuff like arrays: http://www.wc3c.net/vexorian/jasshelpermanual.html#storarray
9 3) A way to set nerubian weaver's position: 9 3) A way to set nerubian weaver's position:
10 http://jass.sourceforge.net/doc/api/common_j-functions.shtml#SetUnitPosition 10 http://jass.sourceforge.net/doc/api/common_j-functions.shtml#SetUnitPosition
11 4) For health/mana of nerubian weaver do the same with http://jass.sourceforge.net/doc/api/common_j-types-unitstate.shtml