HelpObjective Elements?

Posts 1–2 of 2 · Page 1 of 1
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 ?
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;
}
Posts 1–2 of 2 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us