Raised This Month: $ Target: $400
 0% 

How to find the slide direction of door(s)?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Ryan
Senior Member
Join Date: May 2004
Location: NH, USA
Old 10-08-2004 , 00:59   How to find the slide direction of door(s)?
Reply With Quote #1

I'm working on adding sliding door support to my Breakable Doors plugin, but am coming up with some problems...

basically what I do to the sliding doors is:

a) make them PASSABLE
b) make them INVISIBLE

by doing this players are able to walk through an invisible door, hence giving the illusion that the door has been destroyed.

However, when I set the door back to NON-PASSABLE (i of course need to re-dispatch it after this), the door appears just fine, but the door angles get all screwed up.. ie- the direction it needs to slide, is messed up.

I've looked in the SDK and the FGD file(s) and have been unable to find out exactly what controls this direction, however, i do know that i've been unable to use get_keyvalue() for anything because it's seemingly broken and doesnt return a thing.

I've tried many entvars on the door to see if anything will return some kind of angle or velocity for the openned door, but have been unsuccessful. Anyone else out there (perhaps someone w/ mapping experience) care to help me out?

Thanks.
__________________
Warcraft 3: Expansion
Homepage | Downloads | Forums
Ryan is offline
Send a message via AIM to Ryan
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:20.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode