Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with map changing.
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#4
RE: Help with map changing.

It's actually pretty easy Smile

Colliding = (string &in asParent, string &in asChild, int alState)
Because:
asParent = 1st object
asChild = 2nd object
alState = How do they collide? When 1 goes inside? When 1 goes outside? Both?

Interacting = (string &in asEntity)
Because:
asEntity = The entity you interact with. There can only be 1 thing that is cabable of interacting and that is the player.

Use Item = (string &in asItem, string &in asEntity)
Because:
asItem = The item you use.
AsEntity = The entity you use it on

Look-at function = (string &in asEntity, int alState)
Because:
asEntity = The entity you look at
alState = Defining if you are: Looking at it? Looking away from it? Both?

You can actually use those guys (asEntity, asItem, alState, etc.) in scripts like:

void CollideFunction(string &in asParent, string &in asChild, int alState)
{
if(alState == -1) //If you are walking out of the area.
{
GiveSanityDamage(5);
}
}

I hope you understood Wink

Trying is the first step to success.
(This post was last modified: 09-09-2012, 12:57 AM by FlawlessHappiness.)
09-09-2012, 12:57 AM
Find


Messages In This Thread
Help with map changing. - by IGabx - 09-08-2012, 10:13 PM
RE: Help with map changing. - by Adny - 09-08-2012, 10:19 PM
RE: Help with map changing. - by IGabx - 09-08-2012, 10:28 PM
RE: Help with map changing. - by FlawlessHappiness - 09-09-2012, 12:57 AM
RE: Help with map changing. - by The chaser - 09-09-2012, 11:36 AM
RE: Help with map changing. - by IGabx - 09-15-2012, 11:19 PM
RE: Help with map changing. - by IGabx - 09-16-2012, 06:51 PM



Users browsing this thread: 1 Guest(s)