Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I'll do some fiddling with card sizes then. The problem was probably that I was essentially using a card upscaled slightly and locked in place to denote where you can put other cards. I'll try grouping a bunch of spaces together, in a way that they will be significantly bigger and that you won't be placing other cards in the middle of.
Cheers for the help.
edit: as func_door has pointed out this is widely regarded as a bug.
function tryObjectEnterContainer(_, object)
return object.type != 'Card'
end
This is a global event (you can read docs about it), but in short it can prevent any object from entering any container. Deck is considered a container, so with this code I could prevent any Card from entering any container. You could also use the first variable of this function to prevent them from entering decks specifically - I just didnt need it. Peace.
Sorry to ping you so far into the future but I was going to ask if you had any resources to learn more about this.
I'm currently scripting a game where cards get laid on top of one another ( Gloom ). I need them to not merge into a deck. I thought that maybe I could use your code somehow with scripting zones to achieve this. ( Very new to all of this. )
^ put this on the scripting zone itself
Scripting questions are much easier answered on the official Discord server, there are dedicated channels for answering #scripting questions
Is there a link to the discord by chance?