Setting a key in a script

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
TechZimmy
Corporal
Posts: 36
Joined: Tue Feb 18, 2003 12:55 am
Contact:

Setting a key in a script

Post by TechZimmy »

How do I change a doors angle within a script?
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

I don't think that's possible, but you could try any of the following (assuming the targetname of your door is 'door'):

$door angle 90
$door.angle = 90
$door angles (0 90 0)
$door.angles = (0 90 0)
$door yaw 90
$door.yaw = 90

Good luck :)
Image
nuggets
General
Posts: 1006
Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:

Post by nuggets »

possibly

door.openangle = 180
hope this helps, prob not cos it's all foreign 2 me :-/
TechZimmy
Corporal
Posts: 36
Joined: Tue Feb 18, 2003 12:55 am
Contact:

Post by TechZimmy »

I decided to just use $door moveup 50 instead of changing the angle
Post Reply