This and %obj
by Bryce · in Technical Issues · 06/13/2007 (4:12 am) · 1 replies
[probably stupid question]
I see %this and %obj everywhere in my script. Can somebody tell me the difference between the two? I cant figure out exactly what they are referencing to!
[/probably stupid question]
I see %this and %obj everywhere in my script. Can somebody tell me the difference between the two? I cant figure out exactly what they are referencing to!
[/probably stupid question]
Torque 3D Owner Tom Perry
player::myFunction(%this) { echo(%this.id()); echo($player.id()); } $player.myFunction();This (should!) echo the same Id twice.
As for %obj, that depends on the function, hopefully the function will be commented telling you what %obj refers to.