sorry if wrong bunch of forum.
how choose definite PlayerStart number? (for example: ViewClass PlayerStart21
[youtube]L_E9kX5XVi4[/youtube]
CMD: ViewClass PlayerStart #?
- Feralidragon
- Godlike
- Posts: 5493
- Joined: Wed Feb 27, 2008 6:24 pm
- Personal rank: Work In Progress
- Location: Liandri
Re: CMD: ViewClass PlayerStart #?
You can't afaik.
ViewClass or CheatView only cycle between actors of a given class, but not an actor in specific.
However it's possible to do that, you would have to write a simple mod (or have someone writing it for you) where would assign your ViewTarget to that specific actor given a specific name.
ViewClass or CheatView only cycle between actors of a given class, but not an actor in specific.
However it's possible to do that, you would have to write a simple mod (or have someone writing it for you) where would assign your ViewTarget to that specific actor given a specific name.
Re: CMD: ViewClass PlayerStart #?
Type: BehindView 1
Type: set PlayerPawn ViewTarget (actor name)
Your viewtarget will now be that actor, if it exists.
Type: set PlayerPawn ViewTarget (actor name)
Your viewtarget will now be that actor, if it exists.
- Feralidragon
- Godlike
- Posts: 5493
- Joined: Wed Feb 27, 2008 6:24 pm
- Personal rank: Work In Progress
- Location: Liandri
Re: CMD: ViewClass PlayerStart #?
It's a similar approach to that of SetPropertyText...
Create a dummy actor or mutator, with this...
var object MyInput;
then use this command in a function:
SetPropertyText("MyInput", "Input'Input0'");
MyInput points to the transient input, I'd recommend setting this var to NULL upon actor destruction.
Now using MyInput.GetPropertyText("KeyName"); you can detect the key bindings, and change them with MyInput.SetPropertyText.
Create a dummy actor or mutator, with this...
var object MyInput;
then use this command in a function:
SetPropertyText("MyInput", "Input'Input0'");
MyInput points to the transient input, I'd recommend setting this var to NULL upon actor destruction.
Now using MyInput.GetPropertyText("KeyName"); you can detect the key bindings, and change them with MyInput.SetPropertyText.
Re: CMD: ViewClass PlayerStart #?
Oh lol, in my tweak working this command, showing the spawnpoints, nice!