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
Import/use weapons
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#5
RE: Import/use weapons

(01-17-2012, 06:06 PM)SilentStriker Wrote:
(01-17-2012, 05:18 PM)BlueFury Wrote: You may script something so good that it creates entities flying towards your target. And no, it's not possible. This game is for Amnesia gameplay though, make a Source mod if you want guns.
It's actually possible to "kill" a enemy, YourComputer have made a script that made him able to "kill" the grunt.
He used a sword model and then he picked it up as a entity (not a item) and then he started swinging and the grunt died (turn up in smoke)
void OnStart()
{
AddEntityCollideCallback("Sword", "Grunt", "MonsterDie", true, 1);
}

void MonsterDie(string &in asParent, string &in asChild, int alState)
{
SetPropHealth(0.0f);
}

As I said before, that is the only way you can really do it.

01-17-2012, 06:10 PM
Find


Messages In This Thread
Import/use weapons - by Ravenskull - 01-17-2012, 05:02 PM
RE: Import/use weapons - by BlueFury - 01-17-2012, 05:18 PM
RE: Import/use weapons - by SilentStriker - 01-17-2012, 06:06 PM
RE: Import/use weapons - by flamez3 - 01-17-2012, 06:10 PM
RE: Import/use weapons - by flamez3 - 01-17-2012, 05:31 PM
RE: Import/use weapons - by BlueFury - 01-17-2012, 06:44 PM
RE: Import/use weapons - by Tripication - 01-18-2012, 03:42 AM
RE: Import/use weapons - by Statyk - 01-18-2012, 03:45 AM
RE: Import/use weapons - by BlueFury - 01-18-2012, 05:17 PM
RE: Import/use weapons - by Shadowfied - 01-18-2012, 08:30 AM
RE: Import/use weapons - by Kman - 01-18-2012, 11:20 AM
RE: Import/use weapons - by Your Computer - 01-18-2012, 03:04 PM
RE: Import/use weapons - by Statyk - 01-18-2012, 09:11 PM
RE: Import/use weapons - by Datguy5 - 01-18-2012, 06:16 PM



Users browsing this thread: 2 Guest(s)