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
How to make knights change places.
Jagsrs28 Offline
Member

Posts: 101
Threads: 25
Joined: Jun 2012
Reputation: 0
#1
How to make knights change places.

I have a row of knights and I want it to where:


When I pick up a note the knights block of the area. How do I just move 1 knight?
I went to the wiki and couldn't find anything.

Special Custom Story for 2 special people!

[Image: LWFcAl]


06-24-2012, 01:35 PM
Find
MaZiCUT Offline
Senior Member

Posts: 536
Threads: 31
Joined: Jun 2012
Reputation: 17
#2
RE: How to make knights change places.

Ugh, i wish i could help you but i'm stuck in heavy scripting on my cs.


I can tell you some easy hints though, You need to place multiple knights and multiple script areas and set the original knight active and the other ones inactive.

Or don't listen to me at all my friend and wait until someone describes in detail Cool

Hi.
06-24-2012, 01:37 PM
Website Find
Apjjm Offline
Is easy to say

Posts: 496
Threads: 18
Joined: Apr 2011
Reputation: 52
#3
RE: How to make knights change places.

Your best bet here (if you want actual movement) is to use sticky areas. Place one sticky area per knight, where you want the knights to stand, then use the function AttachPropToStickyArea (see wiki for syntax). You will want to have the sticky area attachment disabled initially, and also set it up so the attached props still collide. You will want to also use SetAllowStickyAreaAttachment to enable the attachment before attaching the knight. The other settings in the area is something you are going to need to have a play around with.
06-24-2012, 05:23 PM
Find




Users browsing this thread: 1 Guest(s)