Page 1 of 1

[works for me] FS timing problem

Posted: Thu Sep 14, 2006 9:48
by Planky
This wad has the following script within it:

Code: Select all

[scripts]

script 1
{
 while(1)
 {
  if(objsector(playerobj(0)) == 1)
  {
   healobj(playerobj(0),1);
  }
 wait(100);
 }
}
When run in Legacy, the player gains 1 health point per second while in the necessary sector. In GZDoom (the latest version), it adds approx 4 health points every second.

Any idea's?

Edit: Why on earth are WAD files being blocked from uploading?

Posted: Thu Sep 14, 2006 21:26
by Graf Zahl
No idea why you are having problems but I just tested it with my current code and the timing worked correctly.