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
Level Editor Help A couple things I need help with.
Xanthos Offline
Senior Member

Posts: 318
Threads: 9
Joined: Mar 2012
Reputation: 8
#3
RE: A couple things I need help with.

void FUNCTIONNAME(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("MOBNAME", true);

AddEnemyPatrolNode("MOBNAME", "PATHNODENAME", 1, "");
AddEnemyPatrolNode("MOBNAME", "SECONDPATHNODENAME", 1, "");

AddEnemyPatrolNode("MOBNAME", "THIRDPATHNODENAME", 1, "");

AddEnemyPatrolNode("MOBNAME", "FOURTHPATHNODENAME", 1, "");

}

And I only know how to make the script hurt you this way

SetPlayerHealth(float afHealth);
AddPlayerHealth(float afHealth);

Or fiddle with this


GivePlayerDamage(float afAmount, string& asType, bool abSpinHead, bool abLethal);
//Reduces the health of the player.

//afAmount - amount of damage done to health
//asType - plays a certain effect on the screen when the damage is dealt (BloodSplat, Claws or Slash)
//abSpinHead - changes the camera view when damage is dealt
//abLethal - set to true if player can die from given damage

I still cant get it working

(This post was last modified: 03-30-2012, 12:00 AM by Xanthos.)
03-29-2012, 11:59 PM
Find


Messages In This Thread
A couple things I need help with. - by kiruclanz - 03-29-2012, 05:09 AM
RE: A couple things I need help with. - by Xanthos - 03-29-2012, 11:59 PM



Users browsing this thread: 1 Guest(s)