Viewheight not recognised by GZDoom (.19)

Bugs that have been resolved.

Moderator: Graf Zahl

User avatar
Phobus
Posts: 227
Joined: Sat Sep 03, 2005 11:48
Location: Orpington, Kent, England

Viewheight not recognised by GZDoom (.19)

Post by Phobus »

Code: Select all

[Scripts]

script 1 //This is to set viewheight properly, everything else is ACS or DeHacked
{
	viewheight(32);
}

startscript(1);
There's the script I'm using, and it should work, or so I believe, so why am I getting:

1(2): No such function: "viewheight"

Is it supposed to be written in differently or does it just not work. The Changelog states that you (Graf Zahl) fixed it so it would be recognised on Oct 2nd.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Post by Graf Zahl »

There never was a viewheight function in FraggleScript. The only means to change it is by calling

runcommand("viewheight 32");


but keep in mind that this is fully untested and might have some side effects.
User avatar
Phobus
Posts: 227
Joined: Sat Sep 03, 2005 11:48
Location: Orpington, Kent, England

Post by Phobus »

Hmmm, sorry, I must have misinterpreted the list of functions I saw on my search then :oops:

Thanks for the 'fix'

EDIT: Works perfectly :D

Return to “Closed Bugs”