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

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#8
RE: Door PropForce?

(11-26-2012, 06:05 PM)giacomo9 Wrote: The chaser, you are my God Big Grin It works, thank you! Wink
I'm not a god, I'm Dolan, and I think I'm more interesting this way ^^

I just help people, so if you need help I'll try to be there Wink

If for 2 you mean grabbing an entity (like a box) you can:

void SetEntityPlayerInteractCallback(string& asName, string& asCallback, bool abRemoveOnInteraction);



Calls a function when the player interacts with a certain entity.


Callback syntax: void MyFunc(string &in asEntity)




asName - internal name


asCallback - function to call


abRemoveOnInteraction - determines whether the callback should be removed when the player interacts with the entity

Directly extracted from the wiki Wink

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
(This post was last modified: 11-26-2012, 06:46 PM by The chaser.)
11-26-2012, 06:41 PM
Find


Messages In This Thread
Door PropForce? - by giacomo9 - 11-22-2012, 03:07 PM
RE: Door PropForce? - by The chaser - 11-22-2012, 03:55 PM
RE: Door PropForce? - by Tomato Cat - 11-22-2012, 04:02 PM
RE: Door PropForce? - by giacomo9 - 11-26-2012, 04:33 PM
RE: Door PropForce? - by FlawlessHappiness - 11-26-2012, 05:47 PM
RE: Door PropForce? - by The chaser - 11-26-2012, 05:47 PM
RE: Door PropForce? - by giacomo9 - 11-26-2012, 06:05 PM
RE: Door PropForce? - by The chaser - 11-26-2012, 06:41 PM



Users browsing this thread: 1 Guest(s)