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

Members Online

»
0 Active | 6 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 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 4
Category: CoD4 MP Mapping
CoD 4 mapping and level design for multiplayer.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Elevator Problem
WACThriller93
General Member
Since: Oct 5, 2008
Posts: 20
Last: Oct 30, 2009
[view latest posts]
Level 1
Category: CoD4 MP Mapping
Posted: Monday, Jun. 8, 2009 10:00 pm
Ok well here's the deal. I put an elevator in my map, It works great map loads everything looks good
it goes up when you push the up and down when you push down. But here comes the problem. When the elevator is at the bottom and u push the button it goes up. But when you push it again instead of coming back down it keeps going up out of the shaft same thing with the down button at the top if you push it it goes down and if you push it again it keeps going down below the map.

elevator script

main()
{
thread elevator_up();
thread elevator_down();
}

elevator_up()
{
elevator = getent("elevator","targetname");
up = getent("up","targetname");

while(1)
{
up waittill ("trigger");
wait 2;
elevator moveZ (775,8,2,2);
elevator waittill ("movedone");
}
}

elevator_down()
{
elevator = getent("elevator","targetname");
down = getent("down", "targetname");

while(1)
{
down waittill ("trigger");
wait 2;
elevator moveZ (-776,8,2,2);
elevator waittill ("movedone");
}
}
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 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

»