» Sun Jun 17, 2012 9:51 pm
Nothing simple about that script...firstly, "FindClosestReferenceOfTypeFromRef" is not a standard function, and you have neglected to provide the definition. (Edit: My bad...I forgot to include utility...D'OH!)
What I really need to know is, http://s591.photobucket.com/albums/ss358/RedwoodElf/?action=view¤t=CKTeleport01.jpg
The script shown is in the light called "MagicTeleportTeleport Spell", which is the light used for the "TeleportSpellProjectile" (An object, presumably) which is fired by the "TeleportNodeFFAimed" effect, which is part of the "TeleportLeft" spell. (The lefthand and righthand versions are going to be different...Left will fire the teleport Node, and Right will teleport the user to the node.)
Now I obviously (as you can see) can't just reference the TeleportSpellProjectile object type directly from the script, or even the TeleportNodeFFAimed effect. There must be a way to do this, but I haven't figured it out yet.