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
#7
RE: Spawn entities on moving location & Using items on enemies

(11-02-2012, 01:46 PM)The chaser Wrote: No, no, nothing of level editor. Just script. func_on1(); just checked if the monster was ready to die.

You can attach the entity to the player and then detach it.

You can do this:

AddAttachedPropToProp("Player", "can_01", "can_01.ent", 0,0,0, 0,0,0);

And then:

RemoveAttachedPropFromProp(string& asPropName, string& asAttachName);



Not really sure how it works, though.
So the func_on1(); is actually an independent command?
Maybe I could make it like all the potions in the main game(without drop animation)..it seems really complicate

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


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



Users browsing this thread: 1 Guest(s)