Card.GetControler
Signature
lua
Card.GetControler(Card c) -> intDescription
Returns c's current controller.
Parameters
cCard
Returns
int
Source
D:\Programs\GitHub\ygopro-core\libcard.cpp:3508
Guided Examples
Learn how to use this function in context:
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 1272 indexed script(s).
- Search this function in the Script Explorer with
Card.GetControler.
Script Examples
Artmage Non-Finito (74631897)
Source: Scripts/c74631897.lua
lua
function s.spcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
if Duel.GetFlagEffect(tp,id)>0 then return false end
local rg=s.getrg(tp,c)Levia-Dragoon - Daedalus (78579058)
Source: Scripts/c78579058.lua
lua
if minc>maxc then return false end
end
local tp=c:GetControler()
local mg=nil
if og thenLady's Dragonmaid (48658295)
Source: Scripts/c48658295.lua
lua
function s.spcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
local fg=Duel.GetMatchingGroup(s.fusfilter,tp,LOCATION_ONFIELD+LOCATION_GRAVE,0,nil)
return fg:CheckSubGroup(s.fselect,2,2)