Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
what does script_noteworthy?
#1
Whenever treyarch spawns a model tru scripts they add

self.script_noteworthy = "blablabla";

what is this for? is this the target name or something?
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

#2
dunno exactly, but I think it's a sort of targetname, yes.
[Image: MaEIQ.png]
Reply

#3
I guess it can be used with getEntArray()

Code:
D:\Steam\steamapps\common\call of duty black ops\raw\maps\mp\gametypes\_supplydrop.gsc (3 hits)
    Line 237:     crate_ents = GetEntArray( "care_package", "script_noteworthy" );
    Line 819:     crate_ents = GetEntArray( "care_package", "script_noteworthy" );
    Line 855:     crate.script_noteworthy = "care_package";
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

#4
And what does getEntArray() ? : P

Reply

#5
(08-24-2011, 22:44)Tomsen1410 Wrote: And what does getEntArray() ? : P

It gets a group of entities

for example
Code:
players = getEntArray( "players", "targetname" );
will get all players
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

#6
uui. awesome
Reply

#7
(08-24-2011, 23:10)iAegle Wrote:
(08-24-2011, 22:44)Tomsen1410 Wrote: And what does getEntArray() ? : P

It gets a group of entities

for example
Code:
players = getEntArray( "players", "targetname" );
will get all players

In this case it gets all entities with <entity>.targetname = players, and puts them in an array.
[Image: MaEIQ.png]
Reply

#8
(08-24-2011, 23:10)iAegle Wrote:
(08-24-2011, 22:44)Tomsen1410 Wrote: And what does getEntArray() ? : P

It gets a group of entities

for example
Code:
players = getEntArray( "players", "targetname" );
will get all players

Code:
players = getEntArray( "player", "classname" );
Fuck yea!
Reply



Forum Jump:


Users browsing this thread:
7 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.