Multiple questions - Scripting help

Topic created ยท 4 Posts ยท 46 Views
  • Heya, its been a bit since I did some modding
    But I am planning on making my own minigame and I have a few questions/help on this. I decided to make this one post since I dont want to spam the forums again lmao.

    1. Is it possible to stop zombies from spawning (and later on, allow em)

    2. Is it possible to prevent doors from being opened? (Being bought, opened by afterlife, etc)

    3. If I teleport a player in an area where there is no doors opened, will zombies spawn in it?

    4. Is it possible to prevent people from going into Afterlife if I were to use Mob of the Dead?

    If these are possible, what do I put in as the code for it?

    Obv im not looking for someone to answer ALL of these lmao. Just answer whatever you can that best helps me make the mode I have planned. Thanks!

  • @techboy04gaming Everything is possibile

  • @techboy04gaming Answer for 3rd question. If you teleport a player in an area where players have not gone yet and doors to that location are closed they will die because playable area zones are not connected to that location (doors must be opened). You can bypass this by disabling the "volume death barrier a.k.a" player_outside_of_playable_area by changing it's value to false;

  • @techboy04gaming
    @Dev-Ultimateman said in Multiple questions - Scripting help:

    @techboy04gaming Answer for 3rd question. If you teleport a player in an area where players have not gone yet and doors to that location are closed they will die because playable area zones are not connected to that location (doors must be opened). You can bypass this by disabling the "volume death barrier a.k.a" player_outside_of_playable_area by changing it's value to false;

    While changing that variable to false does allow for players to enter that area without dying, it doesn't activate the zone (depending on the map) and to get around this you can activate specific zones by modifying _zm_zonemgr.gsc

    JezuzLizard's recompileable scripts help out with anything you're wanting to do in the game.

Log in to reply