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


Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple Issues Help Portal
Straxedix Offline
Senior Member

Posts: 426
Threads: 52
Joined: Mar 2014
Reputation: 5
#21
RE: Portal

(10-28-2014, 01:00 PM)Mudbill Wrote: Use the CreateParticleSystemAtEntity script.

When you enter the area named "Visible" then you use that script to create your damaging particle system. You cannot really interact with particles though, but create an area there that you add the interaction callback to. You can either add the callback as you enter the area Visible, or have it already added but enable the disabled area instead when you enter Visible.

In the callback you added, give the player damage, run the DestroyParticleSystem script and another Create one to switch out the particles. Also either replace the area you interacted with with another, change which callback is applied to it, or use a variable in the existing callback (this one) to check if you've already interacted with it.

After that, another interaction can call your UsePortal(); script.

The only problem I can see is that the particles won't fade in and out unless they are made to do so (in the particle editor).

For an actually first time i understand what Mudbil writes :O

10-30-2014, 01:37 PM
Find


Messages In This Thread
Portal - by Straxedix - 10-28-2014, 10:03 AM
RE: Portal - by Mudbill - 10-28-2014, 10:28 AM
RE: Portal - by Straxedix - 10-28-2014, 10:35 AM
RE: Portal - by FlawlessHappiness - 10-28-2014, 11:48 AM
RE: Portal - by Straxedix - 10-28-2014, 11:54 AM
RE: Portal - by FlawlessHappiness - 10-28-2014, 12:03 PM
RE: Portal - by Straxedix - 10-28-2014, 12:28 PM
RE: Portal - by FlawlessHappiness - 10-28-2014, 12:32 PM
RE: Portal - by Straxedix - 10-28-2014, 12:34 PM
RE: Portal - by FlawlessHappiness - 10-28-2014, 12:35 PM
RE: Portal - by Straxedix - 10-28-2014, 12:44 PM
RE: Portal - by FlawlessHappiness - 10-28-2014, 12:47 PM
RE: Portal - by Straxedix - 10-28-2014, 12:51 PM
RE: Portal - by FlawlessHappiness - 10-28-2014, 12:55 PM
RE: Portal - by Straxedix - 10-28-2014, 12:59 PM
RE: Portal - by Mudbill - 10-28-2014, 01:00 PM
RE: Portal - by FlawlessHappiness - 10-28-2014, 01:02 PM
RE: Portal - by Straxedix - 10-29-2014, 01:37 PM
RE: Portal - by Straxedix - 10-30-2014, 01:37 PM
RE: Portal - by FlawlessHappiness - 10-29-2014, 02:03 PM
RE: Portal - by Straxedix - 10-29-2014, 11:51 PM



Users browsing this thread: 1 Guest(s)