Skip to content

Effect.SetHintTiming ​

Signature ​

lua
Effect.SetHintTiming(Effect e, int s_time, [int o_time]) -> void

Description ​

Sets when the client should offer or highlight e for the handler's controller and, optionally, the opponent. If o_time is omitted, the local core copies s_time to the opponent-side mask; masks are interpreted relative to the handler's controller when prompts are checked. This controls prompting and display timing only; it does not replace activation legality checks in the effect's condition, cost, or target callbacks.

Parameters ​

  • e Effect
  • s_time int - Hint timing mask for the handler's controller.
  • o_time int optional - Hint timing mask for the opponent. Defaults to s_time.

Source ​

  • D:\Programs\GitHub\ygopro-core\libeffect.cpp:624

Guided Examples ​

Learn how to use this function in context:

More guided lessons (2)

Used By ​

Generated from the local Scripts/ folder and cards.cdb.

  • Detected in 1888 indexed script(s).
  • Search this function in the Script Explorer with Effect.SetHintTiming.
CardIDScriptDetected Calls
Salamandra with Chain62091148Scripts/c62091148.lua2
Astrograph Sorcerer, the Starfrost Magician48171151Scripts/c48171151.lua1
Artmage Non-Finito74631897Scripts/c74631897.lua1
Levia-Dragoon - Daedalus78579058Scripts/c78579058.lua1
Azure Ocean Dragon Lord - Neo-Daedalus Rage41570943Scripts/c41570943.lua1
Eternal Favorite87532344Scripts/c87532344.lua2
Accel Synchro Stardust Dragon30983281Scripts/c30983281.lua1
Melffy Playtime Surprise58036097Scripts/c58036097.lua2
Favorite HERO Flame Wingman13243124Scripts/c13243124.lua1
Mixousia the Confounder80843006Scripts/c80843006.lua1
Invoked Sorath43989315Scripts/c43989315.lua1
Ehther the Heavenly Monarch96570609Scripts/c96570609.lua1
Am Duazenet45151304Scripts/c45151304.lua1
Magnet Bonding65514302Scripts/c65514302.lua1
Hecahands Tartaros57809669Scripts/c57809669.lua1
Prank-Kids Weather Washer44509529Scripts/c44509529.lua1
Resurgam Xyz49082032Scripts/c49082032.lua1
GMX 55th Experiment Report38984832Scripts/c38984832.lua1
PSY-Framelord Omega74586817Scripts/c74586817.lua1
Teleport Fusion36494597Scripts/c36494597.lua1
Graydle Split75361204Scripts/c75361204.lua1
Dark End Evaporation Dragon62002838Scripts/c62002838.lua1
Artmage Masterwork -Succession-37517035Scripts/c37517035.lua1
Enlightenment Dragon46186135Scripts/c46186135.lua1
...and 1864 more

Script Examples ​

Salamandra with Chain (62091148) ​

Source: Scripts/c62091148.lua

lua
	e1:SetType(EFFECT_TYPE_ACTIVATE)
	e1:SetCode(EVENT_FREE_CHAIN)
	e1:SetHintTiming(TIMING_DAMAGE_STEP)
	e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP)
	e1:SetCondition(aux.dscon)

Astrograph Sorcerer, the Starfrost Magician (48171151) ​

Source: Scripts/c48171151.lua

lua
	e3:SetRange(LOCATION_MZONE)
	e3:SetCountLimit(1,id+o*2)
	e3:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_MAIN_END)
	e3:SetCondition(s.fspcon)
	e3:SetTarget(s.fsptg)

Artmage Non-Finito (74631897) ​

Source: Scripts/c74631897.lua

lua
	e5:SetCode(EVENT_FREE_CHAIN)
	e5:SetRange(LOCATION_MZONE)
	e5:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
	e5:SetCountLimit(1)
	e5:SetCondition(s.fspcon)