Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Come and join our gamer community by
registering for free here
Other Gaming Forum
PC games
WarCraft III Modding
In search of a "Road" System
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Wyvernoid" data-source="post: 127252" data-attributes="member: 7168"><p>hmmm a doodad?, how can you create doodads or rotate them in game? My idea, buildings can't be rotated instantly, but there be workarounds (in JASS) just kill that building and create a new one facing the correct angle. say,</p><p>[JASS]call KillUnit(teh_building)</p><p>set teh_building = CreateUnit('teh_unitid',PLAYER_NEUTRAL_PASSIVE,x,y,teh_angle)[/JASS]</p><p></p><p>That works, cuz buildings can ONLY be rotated when it is created.</p><p>But... you may need to store something of the original buildings and restore them to the new building if you need or would like to.</p></blockquote><p></p>
[QUOTE="Wyvernoid, post: 127252, member: 7168"] hmmm a doodad?, how can you create doodads or rotate them in game? My idea, buildings can't be rotated instantly, but there be workarounds (in JASS) just kill that building and create a new one facing the correct angle. say, [JASS]call KillUnit(teh_building) set teh_building = CreateUnit('teh_unitid',PLAYER_NEUTRAL_PASSIVE,x,y,teh_angle)[/JASS] That works, cuz buildings can ONLY be rotated when it is created. But... you may need to store something of the original buildings and restore them to the new building if you need or would like to. [/QUOTE]
Verification
Post reply
Other Gaming Forum
PC games
WarCraft III Modding
In search of a "Road" System
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top