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


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Leaving map script
JenniferOrange Offline
Senior Member

Posts: 424
Threads: 43
Joined: Jun 2011
Reputation: 33
#2
RE: Leaving map script

It is very possible!
You just have to use ChangeMap(string& asMapName, string& asStartPos, string& asStartSound, string& asEndSound); and void FadeOut(float afTime);.
Create a script area that the player will collide with to trigger your blackout. Use AddEntityCollideCallback making the entity Player and the entity it collides with the name of your script area. Name the function anything you'd like. Under void FunctionName, add FadeOut and ChangeMap. You can find every function I mentioned in the script functions page. Smile (also your holy bible) http://wiki.frictionalgames.com/hpl2/amn...me_scripts


Ba-da bing, ba-da boom.
08-28-2011, 02:11 PM
Find


Messages In This Thread
Leaving map script - by SilentStriker - 08-28-2011, 12:54 PM
RE: Leaving map script - by JenniferOrange - 08-28-2011, 02:11 PM
RE: Leaving map script - by SilentStriker - 08-28-2011, 02:48 PM
RE: Leaving map script - by MegaScience - 08-28-2011, 03:14 PM
RE: Leaving map script - by SilentStriker - 08-28-2011, 03:18 PM
RE: Leaving map script - by Henriksen - 08-28-2011, 03:23 PM
RE: Leaving map script - by Kyle - 08-28-2011, 03:21 PM
RE: Leaving map script - by SilentStriker - 08-28-2011, 03:21 PM
RE: Leaving map script - by SilentStriker - 08-28-2011, 03:27 PM
RE: Leaving map script - by MegaScience - 08-28-2011, 03:39 PM
RE: Leaving map script - by SilentStriker - 08-28-2011, 03:39 PM
RE: Leaving map script - by SilentStriker - 08-28-2011, 04:42 PM
RE: Leaving map script - by Obliviator27 - 08-28-2011, 04:44 PM



Users browsing this thread: 5 Guest(s)