Button to change map

The best and quickest support by a group of top-notch editing specialists, guaranteed!

Moderator: Forum Guards

Button to change map

Postby DxPlayer » Thu Jan 29, 09 10:04 pm

Hello all,
How can a button change map like in BHv4?
It will be good to a cooperation map pack, I making the first one, using MPBots, Trigger to display messages and modications in dx original maps.

Thx for reading,
''[DxP]Alex'' :D
User avatar
DxPlayer
Regular
 
Posts: 488
Joined: Sun Jan 25, 09 6:31 pm
Location: Brazil

Postby DxPlayer » Sun Feb 01, 09 11:26 pm

I discovered how, thx to [17]Wildcat xD .


Code: Select all
class mapchanger01 expands Switch2;

function Frob(Actor Frobber, Inventory frobWith)
{
      local DeusExPlayer Player;

Broadcastmessage(DeusExPlayer(frobber).playerreplicationinfo.playername$" completed the mission");
   foreach allactors (class'Deusexplayer',player)
        {
        DeusExplayer(frobber).consolecommand("Servertravel Any map");
        }
}

defaultproperties
{
     ItemName="Click here to complete the mission"
}

User avatar
DxPlayer
Regular
 
Posts: 488
Joined: Sun Jan 25, 09 6:31 pm
Location: Brazil

Postby Alex » Mon Feb 02, 09 12:01 am

Uh, I don't think that will work too good.
Small tip: Try it out in MultiPlayer, without you being admin. (Thus, as if you're a normal player).

I don't think it will work, but I can't be sure.
Alex
Alpha
 
Posts: 8067
Joined: Wed Nov 12, 03 4:51 pm

Postby DxPlayer » Mon Feb 02, 09 3:46 pm

Yeah, I was thinking it too, but the button worked :) , thx for attention :)
User avatar
DxPlayer
Regular
 
Posts: 488
Joined: Sun Jan 25, 09 6:31 pm
Location: Brazil


Return to Editing issues

Who is online

Users browsing this forum: No registered users and 14 guests