Vinifera icon indicating copy to clipboard operation
Vinifera copied to clipboard

[New Feature] Trigger action for giving credits to a house

Open Rampastring opened this issue 4 years ago • 2 comments

Description:

Tiberian Sun doesn't have a trigger action for giving credits (money) to a house. CnCNet ts-patches adds one.

Additional Files:

CnCNet ts-patches implementation: https://github.com/CnCNet/ts-patches/blob/master/src/trigger_actions_extended.asm#L94

The ts-patches implementation has a bug that, while the trigger action works for multiplayer houses (that normally cannot be used in any triggers in vanilla TS), it doesn't work for singleplayer houses.

Rampastring avatar May 12 '21 22:05 Rampastring

Has research been done as to why this does not work for single-player houses? Could this be a side-effect of the current ts-patches "spawner" system?

CCHyper avatar May 12 '21 22:05 CCHyper

Research hasn't been done on it. I can't remember any issues with other trigger actions for single-player houses, so I'd guess it's a bug in the implementation of the specific action instead. But I'm not entirely certain.

Rampastring avatar May 12 '21 22:05 Rampastring