Flecha das Sombras on 15/5/2006 at 19:15
Does anyone know how to teleport "fire" to a place in a room? Teleport or create.
ascottk on 16/5/2006 at 00:22
What I'd do is use one of the tiny arrowhead smeshes and place it where you want the fire, & whatever event spawns the fire (volume trigger, etc.), add a triggerscript to the arrowhead smesh that destroys it:
Condition-
When linked volume myself is breached by player
Action-
Destroy linked object myself
Then use a deathspawn link from the arrowhead to the fire emitter archetype you want to use.
So, volume is breached, arrowhead is destoyed, fire is spawned by the death of the arrowhead.
Flecha das Sombras on 16/5/2006 at 00:42
Woow thanks.
But I didn´t understand the "Condition". "Breached by player"? The player needs to touch it?
I need to place fire in the whole room when the player steps on it.
And I was planning to make some way that, if the player shots a water arrow before he enters the room, there will be no fire. :cheeky:
nomad of the pacific on 16/5/2006 at 01:37
What Ascott meant was to create a volume (either in the doorway or filling the entire room, depending on how you want it and how many doors there are) and create a script to trigger the fire. One of the available options to fire (pardon the pun) the script is the Condition "When Linked Volume MYSELF is breached by the player". That will fire the script as soon as Garrett enters the invisible volume you created.
From what you're trying to do, you might want to fill the room with Large Flames and set the property bOutOfWorld to True on each of them and let the script change the property to False when Garrett breaches the volume. (Maybe add the Action: Delay X Game Seconds before triggering the fire to give him time to get farther into the room before getting lit up. :ebil: )
As far as setting it up so he can avoid the flaming death by firing (another pun. Sorry.) a water arrow into the room, you'll need to do more scripting. Something in the room will need to be looking for a water stim and set a flag. Then your "Flame Broil Garrett" script will have to check to see if that flag is still unset.
Flecha das Sombras on 16/5/2006 at 09:14
Thanks. :D
Looks really nice, but I don´t know how to do it.... :erm:
How to create a volume?
How to set a property?
I made some scripts for Warcraft III, and the way you create scripts there is very similar with Thief III. But the language here is more complex.
Should I do a tutorial, so I can learn the basics?
Or do you think I can learn by doing?
Crispy on 16/5/2006 at 10:16
I think doing a tutorial first is a good idea. You can't expect to be able to do scripting if you don't know how to set properties. :)
Flecha das Sombras on 16/5/2006 at 21:55
Ok, where can I get some, please? :cheeky:
scumble on 17/5/2006 at 07:39
It's linked from the Circle's main page, for goodness' sake. What more can we do!