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
problems with scripting
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#11
RE: problems with scripting

I didn't understand what you mean by break down, but for looking at an enemy, you can use StartPlayerLookAt
like that:
StartPlayerLookAt("enemy_name", 5, 5, "");

and for a few second later, you should use a timer:
AddTimer("seconds_later", 4, "MapChanger");

then:
void MapChanger(string &in asTimer)
{
ChangeMap("map name", "PlayerStartArea_1", "", "");
}

08-12-2011, 10:02 AM
Website Find


Messages In This Thread
problems with scripting - by Brute - 08-11-2011, 11:51 AM
RE: problems with scripting - by Your Computer - 08-11-2011, 03:07 PM
RE: problems with scripting - by Brute - 08-11-2011, 04:48 PM
RE: problems with scripting - by Tanshaydar - 08-11-2011, 06:11 PM
RE: problems with scripting - by Brute - 08-11-2011, 06:41 PM
RE: problems with scripting - by Tanshaydar - 08-11-2011, 06:48 PM
RE: problems with scripting - by plutomaniac - 08-11-2011, 10:23 PM
RE: problems with scripting - by Brute - 08-12-2011, 08:20 AM
RE: problems with scripting - by plutomaniac - 08-12-2011, 09:35 AM
RE: problems with scripting - by Brute - 08-12-2011, 09:53 AM
RE: problems with scripting - by Tanshaydar - 08-12-2011, 10:02 AM
RE: problems with scripting - by Brute - 08-12-2011, 10:58 AM
RE: problems with scripting - by Tanshaydar - 08-12-2011, 12:27 PM
RE: problems with scripting - by Brute - 08-12-2011, 01:13 PM
RE: problems with scripting - by Tanshaydar - 08-12-2011, 02:01 PM
RE: problems with scripting - by Tesseract - 08-12-2011, 02:06 PM
RE: problems with scripting - by Brute - 08-12-2011, 03:01 PM
RE: problems with scripting - by Tesseract - 08-13-2011, 01:50 AM
RE: problems with scripting - by Endlvl - 08-12-2011, 03:25 PM
RE: problems with scripting - by Brute - 08-13-2011, 08:14 AM
RE: problems with scripting - by Tesseract - 08-13-2011, 12:27 PM
RE: problems with scripting - by Brute - 08-13-2011, 01:19 PM
RE: problems with scripting - by Brute - 08-16-2011, 05:15 PM
RE: problems with scripting - by Brute - 08-19-2011, 06:23 PM



Users browsing this thread: 1 Guest(s)