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
Script Help Spawn entities on moving location & Using items on enemies
ZodiaC Offline
Member

Posts: 120
Threads: 8
Joined: Oct 2012
Reputation: 2
#5
RE: Spawn entities on moving location & Using items on enemies

(11-02-2012, 12:41 PM)The chaser Wrote: When the sledge touched the Master (A brute) it called the function "Destroy". This function called the func_on1();, which would check if the monster had enough hits to die. The "Hits" timer allowed the player to strike the brute again. The AddLocalVarInt... well, I think you know Wink

Yes, attaching sticks an entity to another one. Sorry, but there isn't anything like:

SpawnEntityAtPlayer("Thing", true);

So attaching was the best solution I saw.
If you are planning a combat, I think I have a method, much better Smile
Let's play with ragdolls... Big Grin
So you created the func_on1(); command from here?: [Image: NmIET.jpg]
And then used it in script right?
For the attach-thing you attach an item to something else and make it invisible,and when you want to spawn it you make it visible and detach it?

It seems that I have to spoil my create...Anyway i'm creating an energy drink(can) that will make the player run faster when he uses it and i just wanted to make him drop the can after drinking it..
I guess you have created many battles!

[Image: 2H1Mc.jpg]
11-02-2012, 01:26 PM
Find


Messages In This Thread
RE: Spawn entities on moving location & Using items on enemies - by ZodiaC - 11-02-2012, 01:26 PM



Users browsing this thread: 3 Guest(s)