player/actor information
Moderator: Graf Zahl
- TaBaR
- Posts: 33
- Joined: Tue Sep 12, 2006 15:40
player/actor information
is there a way to determine what sector a player is in? making a maze map that changes randomly an don't want the sector the player is in to change.
- TaBaR
- Posts: 33
- Joined: Tue Sep 12, 2006 15:40
Re: player/actor information
is there a way to tell if a player is moving up or down (with the floor) like on a platform or moving the floor up or down?
- NeoHippo
- Posts: 408
- Joined: Tue Sep 13, 2005 0:47
- Location: British Columbia Canada
- TaBaR
- Posts: 33
- Joined: Tue Sep 12, 2006 15:40
Re: player/actor information
GetActorX / GetActorY doesn't give the sector
GetActorZ stays 0 as long as the player is standing on a floor
GetActorZ stays 0 as long as the player is standing on a floor
- NeuralStunner
- Posts: 253
- Joined: Tue Dec 29, 2009 3:46
- Location: IN SPACE
- Contact:
Re: player/actor information
Wrong! It's an absolute height. You can get the distance to the floor by comparing it with [wiki]GetActorFloorZ[/wiki] (which is also absolute). Check whether that difference is reasonably close to zero, and whether Z height is changing as well.TaBaR wrote:GetActorZ stays 0 as long as the player is standing on a floor
Dean Koontz wrote:Human beings can always be relied upon to exert, with vigor, their God-given right to be stupid.
Spoiler: System Specs
- TaBaR
- Posts: 33
- Joined: Tue Sep 12, 2006 15:40
Re: player/actor information
ok, it does work, but it needs a "script enter" not "script open". i did not find anywhere that it says that it requires that statement.
thank you.
thank you.
- Attachments
-
- maze.rar
- (36.25 KiB) Downloaded 81 times
- NeuralStunner
- Posts: 253
- Joined: Tue Dec 29, 2009 3:46
- Location: IN SPACE
- Contact:
Re: player/actor information
Enter applies to each specific Player as activator. Open does not. So trying to affect the activator in an Open script is not going to do much.
Dean Koontz wrote:Human beings can always be relied upon to exert, with vigor, their God-given right to be stupid.
Spoiler: System Specs