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
help script
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#2
RE: help script

PHP Code: (Select All)
void OnStart()
 {
 
SetEntityPlayerInteractCallback("key_1""OnPickup"false);
 }

 
void OnPickup(string &in asEntitystring &in type)
 {
 
SetEntityActive("servant_brute_1"true);//Setting the enemy ACTIVE.
 
ShowEnemyPlayerPosition("servant_brute_1");// this will make the enemy attack you where ever you are.
 
StartPlayerLookAt("servant_brute_1"10.0f10.5f"");//The 10 is the speed to look at something, 1 is very slow, so this is very fast.
 

(This post was last modified: 12-24-2013, 10:07 PM by DnALANGE.)
12-24-2013, 10:07 PM
Find


Messages In This Thread
help script - by MrJackrabbit - 12-24-2013, 10:02 PM
RE: help script - by DnALANGE - 12-24-2013, 10:07 PM
RE: help script - by MrJackrabbit - 12-24-2013, 10:11 PM
RE: help script - by DnALANGE - 12-24-2013, 10:24 PM
RE: help script - by MrJackrabbit - 12-24-2013, 10:36 PM
RE: help script - by DnALANGE - 12-24-2013, 10:53 PM



Users browsing this thread: 1 Guest(s)