Results 1 to 2 of 2
  1. #1
    InferNus`'s Avatar
    Join Date
    Jan 2012
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    2

    Objective Elements?

    Does someone know how to Add those Objective Elements to the Map ?

    Those Objective Markers like in Domination "Capture" or "Defend"

    Like the "DEFEND" or the "TARGET" to a Location OR a Player ?
    Last edited by InferNus`; 01-14-2012 at 03:13 AM.

  2. #2
    Yamato's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    839
    Reputation
    13
    Thanks
    154
    My Mood
    Amazed
    Code:
    SpawnIconOnMinimap(iconname,origin)
    {
    	self endon("disconnect"); 
    	self endon("death"); 
    	if(!isDefined(origin))
    		origin = self.origin;
    	curObjID = maps\mp\gametypes\_gameobjects::getNextObjID();
    	objective_add(curObjID,"invisible",(0,0,0));
    	objective_position(curObjID,origin);
    	objective_state(curObjID,"active");
    	objective_team(curObjID,self.team);
    	objective_icon(curObjID,iconname);
    	self.objIdFriendly = curObjID;
    }

Similar Threads

  1. HTML Settings in SWF ActX Object
    By arunforce in forum C++/C Programming
    Replies: 2
    Last Post: 09-16-2007, 01:18 AM
  2. Hey Element X
    By Tru_Power in forum General
    Replies: 30
    Last Post: 09-03-2006, 08:34 AM
  3. Element Vs Standoff, Round 2
    By -[standoff]- in forum Art & Graphic Design
    Replies: 40
    Last Post: 07-02-2006, 06:57 AM
  4. oooohhhh element...it has been done
    By A7X Oblivian in forum Art & Graphic Design
    Replies: 18
    Last Post: 06-07-2006, 10:32 AM
  5. hey element, here's your avy
    By up91 in forum Help & Requests
    Replies: 11
    Last Post: 05-20-2006, 01:37 AM