kn4tseb 
Master
 
Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0
![]()
|
RE: Areadef after dclick
ok, gonna c again
(07-01-2014 01:56 PM)Extreme Wrote: (07-01-2014 12:02 PM)kn4tseb Wrote: i know feeh, but im under a function, and i dont know how to store src (who dclicked the item)
tag/ctag only?
[itemdef blah]
...
ON=@Dclick
F_bla // this will run the function on the dclicked item, not on people
src.F_bla // this will run in who dclicked the item
[Function F_bla]
ref1 = <src> // if you run the function on item, it should work and <src> = who dclicked
ref1 = <uid> // this is 'who' or 'what' you used the function
it wont work :/
Its logic, if you run the function on item, <uid> = item and maybe <src> = who dclicked
if you run the function on who dclicked <uid> = who dclicked
yes Extreme, i thought i could make a ref for both, i run the function on item, but couldnt make a reference for src so i had to make a tag/ctag/var
some triggers have some other ways to refer more than 1 obj, thats what i was trying to figure; but on this case i couldnt, i get <uid> = item dclicked (because i run the function under this one)
but <src> gets me a non define value or 0
(This post was last modified: 07-01-2014 02:44 PM by kn4tseb.)
|
|
07-01-2014 02:39 PM |
|
|