keeperfx icon indicating copy to clipboard operation
keeperfx copied to clipboard

Gold piles shrink after triggering SET_OBJECT_CONFIGURATION

Open Loobinex opened this issue 3 years ago • 1 comments

Steps to reproduce:

  1. Hold a large amount of money in your hand (say, 2000 gold or 8 pots)
  2. Drop it all on a single pile --> Notice it is big
  3. Wait 3 seconds --> See it shrink down

image image

Loobinex avatar Jan 11 '22 02:01 Loobinex

It's not on every map, but my testmap only. I presume caused by this script:


SET_TIMER(PLAYER2,TIMER2)
IF(PLAYER0,FLAG6 == 0)
	IF(PLAYER2,TIMER2 > 60)
		NEXT_COMMAND_REUSABLE
		SET_OBJECT_CONFIGURATION(BARREL,AnimationID,952)
		NEXT_COMMAND_REUSABLE
		SET_OBJECT_CONFIGURATION(BARREL,LightIntensity,120)
		NEXT_COMMAND_REUSABLE
		SET_OBJECT_CONFIGURATION(BARREL,LightRadius,6)
		NEXT_COMMAND_REUSABLE
		SET_TIMER(PLAYER2,TIMER2)
		NEXT_COMMAND_REUSABLE
		SET_FLAG(PLAYER0,FLAG6,1)
	ENDIF
ENDIF

Loobinex avatar Jan 11 '22 02:01 Loobinex