Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
TheNooBringeR

Changecamera sometimes doesn't work (Script)

Recommended Posts

Whenever i use changecamera sometimes it changes and sometimes it don't, now i put it like this

#include "zcommon.acs"

script 1 ENTER
{
changecamera(1,0,0);
}

and it doesn't change the camera, i tried it on other wads it works, but on this one it doesn't, please help!

Share this post


Link to post

I haven't touched the map editor for a while, but maybe i can help, have you tryied to put the tag of 1 to the camera object?

Or... try this:

script 1 ENTER
{
changecamera(1,1,0);
}

Put the 1 in the second zero, so you will be able to see what the camera sees, and if you put a 1 in the third zero, when you move the camera will return to your starting marine head (i guess)

Hope it helps.

Share this post


Link to post

Well, try, before the changecamera script to put this:

thing_activate(1);

1 is the tag of your camera object.
So it will be like this:

script 1 ENTER
{
thing_activate(1);
changecamera(1,1,0);
}

Share this post


Link to post

I dont know why, but for some reason, when i deleted MAPINFO the script started to work, also these scripts work now

script 1 ENTER
{
changecamera(1,1,0);
}

and this too

script 1 ENTER
{
thing_activate(1);
changecamera(1,1,0);
}

btw thanks for help!

Share this post


Link to post
Blue Shadow said:

What's in the MAPINFO that would prevent this from working?


I ask the same thing, i have a MAPINFO in my wads too, can't understand why it prevents you to add an script?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×