View Single Post
Old 01-16-2012, 01:43 PM   #64
Qui-Gon Glenn
Necessary Roughneck
 
Qui-Gon Glenn's Avatar
 
Join Date: May 2007
Location: Thessia
Posts: 1,464
Current Game: ME3MP, Arkham Origins
Folder extraordinaire Helpful! Forum Veteran Veteran Modder 
Quote:
Originally Posted by JCarter426
And if you want Force powers, those functions are right above CutsceneAttack in nwscript.
Yes they are! Here is a simple way I have used to implement them in a dialog, from a node script slot... this way you can control the reaction of the NPC who is "choked" or "power blasted"...
Code:
void main()
{
   object oPC=GetFirstPC();

   ActionCastFakeSpellAtObject(FORCE_POWER_CHOKE, oPC);
}


Want to play a game of ME3MP?
Qui-Gon_Glenn on the software of which we shall not name.... add me and the enemy shall fall in chunks of crimson salsa
Qui-Gon Glenn is offline   you may: quote & reply,