Post your scripting questions / solutions here
Moderator: Moderators
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544 Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States
Post
by Master-Of-Fungus-Foo-D » Fri May 21, 2004 10:53 am
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
tltrude
Chuck Norris
Posts: 4774 Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:
Post
by tltrude » Fri May 21, 2004 11:08 am
An entity can "target" another entity like this in the script.
$blah1.target = $blah2
Tom Trude,
lizardkid
Windows Zealot
Posts: 3672 Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT
Post
by lizardkid » Fri May 21, 2004 2:12 pm
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.
Moderator
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
blue60007
General
Posts: 1247 Joined: Sun Mar 07, 2004 11:44 pm
Post
by blue60007 » Fri May 21, 2004 5:07 pm
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.
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544 Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States
Post
by Master-Of-Fungus-Foo-D » Fri May 21, 2004 7:37 pm
ok thanx guys...........................................|
..............................................................\|/
all i needed to know was to put the $blah.TARGET = $blah_blah
thanks again