Portal-Zone Gothic-Zone Gothic II-Zone Gothic 3-Zone Gothic 4-Zone Modifikationen-Zone Download-Zone Foren-Zone RPG-Zone Almanach-Zone Spirit of Gothic

 

Ergebnis 1 bis 3 von 3
  1. Beiträge anzeigen #1 Zitieren
    Ranger Avatar von Demondays
    Registriert seit
    Feb 2015
    Beiträge
    173
     
    Demondays ist offline

    Deleting vob from world with scripts

    As in title. I wanted to have temporary some vob in the game that I could delete after quest is done. I know I could use movers and hide/show vob by moving it underground but I was wondering if there isnt any simplest way to do it with Ikarus?

  2. Homepage besuchen Beiträge anzeigen #2 Zitieren
    General Avatar von Dada
    Registriert seit
    Jan 2007
    Ort
    Krefeld
    Beiträge
    3.729
     
    Dada ist offline
    There's a function called MEM_DeleteVob(ptr). If you get the pointer of the vob (maybe with MEM_SearchVobByName()), you can delete it this way.

  3. Beiträge anzeigen #3 Zitieren
    Ranger Avatar von Demondays
    Registriert seit
    Feb 2015
    Beiträge
    173
     
    Demondays ist offline
    Yes, this seems to be working, thx!

    Code:
    MEM_DeleteVob (MEM_SearchVobByName("VOBNAME"));

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
Impressum | Link Us | intern
World of Gothic © by World of Gothic Team
Gothic, Gothic 2 & Gothic 3 are © by Piranha Bytes & Egmont Interactive & JoWooD Productions AG, all rights reserved worldwide