Frictional Games Forum (read-only)

Full Version: [SOLVED] How???
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Okay i saw in 1 fcm or CS when you click on level door first something happen then you teleport how to do that?
...

Some more details man.
With timers, I think. Elaborate more, pls.
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.
(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:
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 ?
Oh lol there it is:
Spoiler below!
PHP Code:
void SetEntityCustomFocusCrossHair(stringasNamestringasCrossHair);

Changes the crosshair that is used when focusing an entity.

asName internal name
asCrossHair 
desired crosshaircan be: Default (uses default), GrabPushIgnitePickLevelDoorLadder 

Dude i am retarded :/
Solved +rep to ALL