There is 2 options for my problem: Or i am dumb, and can't find thoose 2 objects names or riot doesn't create objects with both of them.
I found the name for the W shadow when its sended the first time, but when i swap i can't find the object that it creates. Same for the R shadow. When i ult, i don't see anything like this: Zed_Base_R_cloneswap_buf.troy. This is the code for the first W one: Zed_Base_W_cloneswap_buf.troy. I used this to get the objects.
OnCreateObj(function(Object,myHero) PrintChat(string.format("<font color='#00ff00'>CreatedObject= %s</font>",GetObjectBaseName(Object))) end)
This actualy shows a bunch of objects beign created and that gets confusing knowing what made they appear there.
Is it possible just to print the W objects and the R? That would put things more easy beacause i would test them all until i find the right one Until now i just have this:
OnCreateObj(function(Object,myHero) if GetObjectBaseName(Object) == "Zed_Base_W_cloneswap_buf.troy" then WPos = GetOrigin(Object) end --[[if GetObjectBaseName(Object) == "Zed_Base_Clone_idle.troy" then --RPos = GetOrigin(Object) end]] --PrintChat(string.format("<font color='#00ff00'>CreatedObject= %s</font>",GetObjectBaseName(Object))) end)
If someone could get me the names, or say me another way of get them i would be grateful.