Post: Forge Function Problem
07-10-2016, 03:04 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hello NGU. I have started work on another project of mine, a full custom gamemode/remake of a game I loved on the PS2.
However ... I have hit an issue.
I have been trying to code a working base forge function that allows me to spawn in "objectives" get some kind of icon to appear on the minimap. Something that is barebones and would allow me to easily tack on functions to be run by these "objectives" and create other types of "objectives" (these objectives are items such as carepackages, flags ect).
I have been using several of the forge functions from sharks Zombieland as a guide, including the method to put in them into maps via map edits. All my attempts at getting just a carepackage (the "objective") to spawn in a particular location and get some kind of icon to appear on the minimap have resulted in freezes.

How do I get a Carepackage or any other object to spawn in the game and an icon to apear in the minimap over that spot when I give it a coordinate with out freezing my system?

Some code that does just that and nothing else would be appreciated. Thank you for all your help NGU. :krypto:
(adsbygoogle = window.adsbygoogle || []).push({});
07-11-2016, 01:45 PM #2
seanhellen
Are you high?
To spawn a carepackage, have a look at jwm's forge menu. To add an icon to the compass, use objective_add and objective_icon
Cant remember how to use them (the args) but a look on zeroys scripts will help you with that :yes:

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo