player view problems [SOLVED]

Started by YotamElal, Tue 22/02/2005 12:59:22

Previous topic - Next topic

YotamElal

2 problems

1. the player view isn't changing when on walkable.


2.when I change the players view,
object 0 which is visible on the screen changes
to the first frame of the players view
(as well as the player view changing).

?

Radiant

Maybe you could show us some of the code you're using? That'd help. There's probably a small typo in there.

YotamElal

mmmm..

1. interaction with object
SetCharacterView(EGO, 10);
//I pickup a hat now i am walking around with a hat on my head.

It changes the players view correctly but allso changes the image of object 0!
: (

2. walkable are doesn't change player view.
this isn't code.
there is a box that sais. change player view when on this area. I put in a view the box doesn't work?
...

Ashen

#3
For non-changing view:
SetCharacterView locks the view, so it can only be changed by another script command, and not the 'change player view when on this area' box. (This is explained better in the SetCharacterView entry in the manual.) Try using ChangeCharacterView (EGO, 10) instead. Who knows, that might even fix the other problem. I doubt it, but you never know.
I know what you're thinking ... Don't think that.

YotamElal

1 problem solved
now i'm using changecharacterview and the walkable area influences the character. : )

2 unsolved
object 0's image changes to the first frame of the character view?

Pumaman

Are you sure you don't have any script or interactions at all in the room that would change object 0's image or view?

YotamElal

I found a changeviewnumber instead of change variablenumber....
Fixed

SMF spam blocked by CleanTalk