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

Members Online

»
0 Active | 63 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

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 4
Category: CoD4 SP Mapping
CoD 4 mapping and level design for single player.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Previous Page
subscribe
Author Topic: Solved: Getting the Javelin to work
jeannotvb
General Member
Since: Dec 8, 2007
Posts: 620
Last: Feb 1, 2010
[view latest posts]
Level 6
Im a fan of MODSonair
Category: CoD4 SP Mapping
Posted: Monday, Mar. 2, 2009 02:35 am
Yeah it spawns later in the map through another sequence of triggers, is there any other way to do this I don't want to spawn the tank as soon as the map starts.

Thanks
Share |
feilong80
General Member
Since: Aug 30, 2008
Posts: 14
Last: Mar 2, 2009
[view latest posts]
Level 1
Category: CoD4 SP Mapping
Posted: Monday, Mar. 2, 2009 03:13 am



Code:

eTrigger = getent("triggerThatSpawnsYourTank", "targetname");

eTrigger waittill( "trigger" );

//insert tank targeting code here.
What this does is makes the script literally stop in that spot until you hit the trigger that spawns your tank, so there is no way it won't actually be in the world when you try to set it up as a jav target. Of course it also won't move beyond this point to do other stuff you might need to have done in your script, so keep that in mind. It is literally stopping and waiting. There is more than one way to skin this cat, but that's what I got for now (-: -Rob


Share |
Restricted Access Topic is Locked
Page
Previous Page
subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 SP 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

»