Page 1 of 1

If Theres a targetname operator... what about "target?

Posted: Fri May 21, 2004 10:53 am
by Master-Of-Fungus-Foo-D
well the title explains all. I know in a script theres a targetname operator ($blah) but what about a target operator.

PS im a noob scripter. Im still learning the joys of the script :) :) :)

target

Posted: Fri May 21, 2004 11:08 am
by tltrude
An entity can "target" another entity like this in the script.

$blah1.target = $blah2

Posted: Fri May 21, 2004 2:12 pm
by lizardkid
target is just a property for the $targetnamed entitiy, so if you had

$guy.target = $otherguy

the otherguy wouldn't have any special stuff ascociated with him. he'd be the target of the other guy.

Posted: Fri May 21, 2004 5:07 pm
by blue60007
In radiant if you had entity 1 targeting entity 2 targeting 3 you'd have these key values:

Entity 1

targetname/entity1
target/entity2

Entity 2

targetname/entity2
target/entity3

Entity 3

targetname/entity3




You should see a line connecting these three in a circle.

Posted: Fri May 21, 2004 7:37 pm
by Master-Of-Fungus-Foo-D
ok thanx guys...........................................|
..............................................................\|/
all i needed to know was to put the $blah.TARGET = $blah_blah

thanks again