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

Members Online

»
0 Active | 40 Guests
Online:

LATEST FORUM THREADS

»
run artillery on maps
CoD+UO Map + Mod Releases
Call of DutyŽ: WWII
CoD WW2 General

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 MP Mapping
CoD 2 mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Previous Page
subscribe
Author Topic: Triggers and there Functions
custard
General Member
Since: Jul 4, 2006
Posts: 252
Last: Sep 11, 2009
[view latest posts]
Level 5
Category: CoD2 MP Mapping
Posted: Monday, Feb. 12, 2007 02:17 pm
Hey all this is the error that it give's me


******* script runtime error *******
getent used with more than one entity: (file 'maps/mp/mp_test.gsc', line 57)
button2 = getent ("button2", "targetname");
*
called from:
(file 'maps/mp/mp_test.gsc', line 39)
thread moving_object2();
*
started from:
(file 'maps/mp/mp_test.gsc', line 2)
main()
*
************************************
writing to: C:\Program Files\Activision\Call of Duty 2\servercache.dat
Error during initialization:
script runtime error
(see console for details)
getent used with more than one entity
Share |
Sevenz
General Member
Since: Apr 24, 2006
Posts: 2390
Last: May 10, 2013
[view latest posts]
Level 8
Category: CoD2 MP Mapping
Posted: Monday, Feb. 12, 2007 03:13 pm
if you have more than one entity using the same targetname, use getentarray and a for-loop or change the targetname
Share |
custard
General Member
Since: Jul 4, 2006
Posts: 252
Last: Sep 11, 2009
[view latest posts]
Level 5
Category: CoD2 MP Mapping
Posted: Monday, Feb. 12, 2007 04:32 pm
How bud? i tryed that then it does not work
Share |
custard
General Member
Since: Jul 4, 2006
Posts: 252
Last: Sep 11, 2009
[view latest posts]
Level 5
Category: CoD2 MP Mapping
Posted: Monday, Feb. 12, 2007 05:30 pm
IT cam up with this error


Code:
******* script runtime error *******
array is not an object: (file 'maps/mp/mp_test.gsc', line 58)
   button2 waittill ("trigger");
   *
called from:
(file 'maps/mp/mp_test.gsc', line 39)
thread moving_object2();
       *
started from:
(file 'maps/mp/mp_test.gsc', line 2)
main()
*
************************************
writing to: C:\Program Files\Activision\Call of Duty 2\servercache.dat
Error during initialization:
script runtime error
(see console for details)
(file 'maps/mp/mp_test.gsc', line 2)
Share |
Sevenz
General Member
Since: Apr 24, 2006
Posts: 2390
Last: May 10, 2013
[view latest posts]
Level 8
Category: CoD2 MP Mapping
Posted: Tuesday, Feb. 13, 2007 09:59 am
you have to learn about getentarray:

http://www.modsonline.com/index.php?mod=Tutorials&op=read&id=121

http://www.modsonline.com/Forums-top-60848-0.html%23564203

http://www.modsonline.com/Forums-top-60789-0.html%23563888

http://www.modsonline.com/Forums-top-60680-0.html%23563190

http://www.modsonline.com/Forums-top-60884-0.html

http://www.modsonline.com/index.php?mod=Tutorials&op=read&id=373

Share |
bouncy
General Member
Since: Apr 16, 2006
Posts: 105
Last: Feb 26, 2007
[view latest posts]
Level 4
Category: CoD2 MP Mapping
Posted: Tuesday, Feb. 13, 2007 02:22 pm
looks like ur "bud" who was going to give u one bailed...
Share |
Ricsta
General Member
Since: Jun 9, 2004
Posts: 933
Last: Nov 27, 2014
[view latest posts]
Level 7
Category: CoD2 MP Mapping
Posted: Tuesday, Feb. 13, 2007 02:23 pm
As caretaker said, we are really protective over this. Its a peice of work that has really boosted rnr-projects community and still is. So you can understand why i dont wanna give it out just right now.

And i know i dont have the right to say what people can and cant do, but i would appreciate it if the keypad was left alone. Especially as you custard are ripping our code and hoping people can tell you where the triggers go.

Heres another reason why people should'nt help you.

Quoted from rnr-projects.co.uk

Sevensniff writes...
Quote:

I dont think u will get it. its up to ricsta about the keypad. but i dont think he will want to give out an object he slaved over for weeks lol or was it a week? :roll:


And before i even had a chance to reply...

custard writes...
Quote:

well then bud i just was asking if you do not give it to me i am gonna use "ur key pad texture and .gsc" and make my own one and post it on modsonline for every one to use i just was asking for permission i am not gonna freaken steal it and post it every where i still have to figure out the triggers but just asking if you could make a prefab and send me a link in pm that would be great if not then ill do it my self :credit my self"


Im really sorry to come bursting over here like this modsonline:(.

R&R|Ricsta

edited on Feb. 13, 2007 04:30 pm by Ricsta
Share |
bouncy
General Member
Since: Apr 16, 2006
Posts: 105
Last: Feb 26, 2007
[view latest posts]
Level 4
Category: CoD2 MP Mapping
Posted: Tuesday, Feb. 13, 2007 02:26 pm
Nicely said ric
Share |
custard
General Member
Since: Jul 4, 2006
Posts: 252
Last: Sep 11, 2009
[view latest posts]
Level 5
Category: CoD2 MP Mapping
Posted: Tuesday, Feb. 13, 2007 03:18 pm
Hey bud you got it all wrong, I am making my own keypad so why dont you leave me alone i am using yours as a reference that is all i have not got 1 line of code in that from urs


Your .gsc i ask if people knew what it was so they could explain to me

bud i am not stealing from you i promise i can't evan code

edited on Feb. 13, 2007 05:20 pm by custard
Share |
The_Caretaker
General Member
Since: Jun 8, 2004
Posts: 11625
Last: Jul 7, 2009
[view latest posts]
Level 10
Category: CoD2 MP Mapping
Posted: Wednesday, Feb. 14, 2007 12:37 pm
ok.. cool it down.. everyone had their say. I'm closing this thread.

If you need more help with your keypad thingy, make a new post, custard
Share |
Restricted Access Topic is Locked
Page
Previous Page
subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 MP Mapping

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

»