Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds
Watch MODSonair

Members Online

»
2 Active | 49 Guests
Online:

LATEST FORUM THREADS

»
Good Servers on PC
CoDBO General
Using Teamspeak
Teamspeak Servers

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 2
Category: CoD2 Scripting
Scripting and coding with Call of Duty 2.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: status icon
extreem515
General Member
Since: Jul 8, 2011
Posts: 34
Last: Apr 4, 2014
[view latest posts]
Level 2
Im a fan of MODSonair
Category: CoD2 Scripting
Posted: Thursday, Mar. 28, 2013 02:19 pm
Hey all,
Could someone help me?
I have one question.
I am going to give status icon over head for everyone enemy.
If self.statuspoint = 2
{
give all enemies status icon over head but only this one who has self.statuspoint = 2 can see this status icons.
}

hmm... something like wh xD,
If self.statuspoint = 2 this self see over enemies stausicon, but in the same moment all selfs who have self.statuspoint = 1 see nothing over enemies.

my script:

if self.statuspoint = 2
self thread skrypt()

skrypt()
{
self endon("disconnect");
self endon("player_killed");

players = getentarray("player", "classname");
for(i = 0; i < players.size; i++)
{
player = players;
if (self.pers["team"] != player.pers["team"])
{
player.statusicon = "example_img";
}
}
}
Share |
PatmanSan
General Member
Since: Jul 2, 2009
Posts: 8
Last: Feb 6, 2014
[view latest posts]
Level 0
Category: CoD2 Scripting
Posted: Friday, Mar. 29, 2013 11:04 pm
You mean head icon. A status icon is for the scoreboard.

headiconteam decides if the headicon shows to allies or axis. You cannot set head icons to show up for individual players.
Share |
extreem515
General Member
Since: Jul 8, 2011
Posts: 34
Last: Apr 4, 2014
[view latest posts]
Level 2
Im a fan of MODSonair
Category: CoD2 Scripting
Posted: Saturday, Mar. 30, 2013 01:54 pm
so in compass
if player.status = 2
show in compass enemies in special image
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 Scripting

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»