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
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#6
RE: Spawn entities on moving location & Using items on enemies

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.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
11-02-2012, 01:46 PM
Find


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



Users browsing this thread: 2 Guest(s)