vegetalain Posted March 10 Hello world, hm, so, i would like to release the timer from the serie "Sliders" (90's). I took a weapon named "Karnak" from a mod, many months ago, and i try to change it. Originally, this weapon (Karnak), create a black hole and when you are too near it, you die. I replace "dying effect" but "calling script"... So i would like, when you are attracted by the vortex, you don't die, but you are "teleported" to another place in the same map... ... In a new map, i test the teleportation effect, with this script : (when player bumps, on a wall, like my first screenshot). Just to verify, without weapon... script "pont" (void){ Fadeto(255, 255, 255, 1.0, 1.0); delay(53); Teleport_NoFog(21, 0, 0); Fadeto(255, 255, 255, 0.0, 0.5); Print(s:"Glisse \cg terminee !"); Delay(15*5); } When i use this in the map, the player is "transported" to the spot tagged "21", with a fade effect and it's cool : it works ! ;) Then, I would like to make this transportation from a "decorate" file... So i write this, in the decorate of the weapons : BHOL A O ACS_NamedExecute("pont", 0, 0, 0, 0) And it's works too (see the second screenshot)... the text is displayed, but there's no teleportation for the player... i don't understand. So my question : how to execute a script wrote inside a map, from a decorate? Or, how to teleport the player on another place in the map, from ... a weapon (like the Timer of Sliders tv serie)? (is it possible...?) Thanks for your advice, have a nice sunday ;) Alain 0 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.