Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help [SOLVED] How???
Straxedix Offline
Senior Member

Posts: 426
Threads: 52
Joined: Mar 2014
Reputation: 5
#5
RE: How???

(11-22-2014, 01:28 AM)Mudbill Wrote: Just add an interaction area over the door and replace the crosshair with a level door one. That way the player will think they're clicking the door, but you can script whatever you want instead.

Sounds interesting but is there script that will CHANGE MAP, i know script that teleports to another start area but this is something else.

BTW if you need more explanation i will explain...

You all know level doors right ? When you click on them you immediately change map. But in this case i am trying to (what i saw is possible) click on door (or maybe area that looks like door) then something happens example:

Player clicks on door or area, then he turn around. Then change map, this is just example.

That's what i am trying to do, but as i noticed there is no script that can change map only teleport you to another position ? Maybe checkpoint...

EDIT:
Spoiler below!
PHP Code: (Select All)
void ChangeMap(stringasMapNamestringasStartPosstringasStartSoundstringasEndSound);

 
Immediatly loads another map.

asMapName the file to load
asStartPos 
the name of the StartPos on the next map
asStartSound 
the sound that is played when the change starts
asEndSound 
the sound that is played when the new map is loaded 


This is proof that i am retarded -.- But how i change crosshair ?

(This post was last modified: 11-22-2014, 08:08 AM by Straxedix.)
11-22-2014, 07:44 AM
Find


Messages In This Thread
[SOLVED] How??? - by Straxedix - 11-21-2014, 10:05 PM
RE: How??? - by Slanderous - 11-22-2014, 12:00 AM
RE: How??? - by Red - 11-22-2014, 12:09 AM
RE: How??? - by Mudbill - 11-22-2014, 01:28 AM
RE: How??? - by Straxedix - 11-22-2014, 07:44 AM
RE: How??? - by Straxedix - 11-22-2014, 09:26 AM
RE: How??? - by Straxedix - 11-22-2014, 11:09 AM



Users browsing this thread: 1 Guest(s)