Xanthos
Senior Member
Posts: 318
Threads: 9
Joined: Mar 2012
Reputation:
8
|
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 |
|