Jump to content
Sign in to follow this  
Beny.cz

Changing elev of D30

Recommended Posts

Hi guys,

i am trying to do an intro in my mission, and I would like to have a scene where D30 provides artillery support, but I was not able to force the elevation of its cannon and it looks quite strange when it shoots :(.

I tried doTarget and setVectorDir but it did not work.

Share this post


Link to post
Share on other sites
Hi guys,

i am trying to do an intro in my mission, and I would like to have a scene where D30 provides artillery support, but I was not able to force the elevation of its cannon and it looks quite strange when it shoots :(.

I tried doTarget and setVectorDir but it did not work.

Don't know anything re intro's, but if you create an object I used an ammocrate, place this in the init line

this setPos [ getPos this select 0, getPos this select 1, (getPos this select 2) +80]

Call it lookhere

In the D30 name it gun1

create a trigger and in the activation

gun1 dowatch lookhere

When the trigger is tripped the gun will look up at the ammo crate as it is placed really high. The ammo crate objects won't fall either.

Hope that helps.

Share this post


Link to post
Share on other sites

Or you could skip the item-creation part and do:

d30name doWatch [getPos d30name select 0, getPos d30name select 1, (getPos d30name select 2)+80];

Put in a trigger or the d30s init-line.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×