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

Members Online

»
0 Active | 33 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

Tutorials

»
CoD4 Mapping
ratings:
Awful Rating
Poor Rating
Average Rating
Good Rating
Excellent Rating
Unlinking player from vehicle --- by tomv8
Versions: You must be logged in to view history.

Ever wondered how to unlink yourself from a vehicle? look no further! after many tests and peices of chocolate i have found a way ! (shoop da woop?)

Ok i beleive you have read the tutorial to add a moving jeep and how to ride in it. well im now add how to unlink yourself when u have reached the end. ok first

radiant : make a trigger multiple at the spot where u want to be unlinked ( near end )

NOTE : THE PLAYER HAS TO TOUCH  THIS TRIGGER INORDER TO WORK SO MAKE IT KINDA BIG

ok give it a targetname of unlink

Ok thats radiant done

scripting :

ok in your main function right near the end add this

thread unlinkplayer();

ok now make a new function heres script

unlinkplayer()

{

unlink = getent ( "unlink", "targetname" );

while (1)

 {

unlink waittill ("trigger",user);

if (user istouching(unlink))

    {

wait 2;

user unlink();

level.player enableweapons(); // Takes away all the players weapons

level.player allowcrouch(true); // Player is not allowed to crouch

level.player allowprone (true); // Player is not allowed to prone

      }

   }

}

 everything should work now! if u wana change how long it takes to unlink after u touch trrigger change the wait 2; into whatever number.. :P if any problems my xfire is tomv8

btw im a noob scripter and this is my first script lol.. and it works so dont go mad at me if its nooby..

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

»