I posted this at the hub, but there's like 20 different forums, so on the off chance anybody reads this thread:
I think I'm confused about GetLocalPlayerThing and GetThingSector. GetLocalPlayerthing returns an integer value, right? 0 is the number of the walkplayer thing, but I'm still not getting any love with the camera changing.
The goal is to change the cameras when the player enters a sector.
Code:
# Change to a different camera when the player enters the sector //flags=0x240 symbols thing camera1 thing camera2 int kyle message entered sector room2 sector room1 end # ================================================================== code entered: kyle == GetLocalPlayerThing(); PrintInt(kyle); if(GetThingSector(0) == room2) { SetCurrentCamera(0); SetCameraFocus(0, camera1); } return; end
I think I'm confused about GetLocalPlayerThing and GetThingSector. GetLocalPlayerthing returns an integer value, right? 0 is the number of the walkplayer thing, but I'm still not getting any love with the camera changing.
The goal is to change the cameras when the player enters a sector.
COUCHMAN IS BACK BABY