I've done this before, in Lunkin's Journey, as a means, a very hokey, clunky means of teleporting in fire, which wasn't really fire, but was my way of making fire appear, and I actually used it for other stuff too but forget about all of that, because it's not relevant.
Anyway I've forgotten how I did it, which is actually "very me", as I have no memory at the best of times, and well, Lunkin's Journey was 5 years ago, which compounds things...
Right, what I've forgotten, is this:
> Player does something, so a float, for instance called stuff_player_did now = 5
> As a result a teleport, or numerous teleports send their contents to the destination
Now I know it involves SUB_useTarget but other than that my minds a blur.
Now the obvious thought that came to mind, and indeed any sensible person's mind, was "look in Lunkin's blooming qc files". But there's a problem (well 2 actually, but as the second makes this following one redundant, I shall barely bother mentioning that the code was a morass of unreadable, overcomplicated, uncommented spaghetti) I've lost the qc files, and attempts to decompile the progs.dat have proven less than successful. Which, for the purposes of this thread, I shall call a 'failure'.
Anyway if you can decipher this mess and offer help, I thank you. If, quite rightly you can't understand much of it, ponder this, after my frantic and uncoordinated hammerings at the keyboard were completed, barely a word wasn't underlined in red, and it took me more minutes to turn it into identifiable English than it has you good people to read it.
In an effort to bring some clarity to it, I've bolded the part that is of most importance.