Post new topic    
Blubber Bloat
Send private message
Is there some way to let NPCs pass through each other? 
 PostThu Apr 10, 2014 4:39 pm
Send private message Reply with quote
I'm sorta making a silly pac-man knockoff right now, and I'm needing to know how to make my "ghosts" phase through the collectables. Because they refuse to as of now.
dOn'T MiNd mE! i'M jUsT CoNtAgIoUs!!!
Play Orbs CCG: http://orbsccg.com/r/4r6x V
Metal Slime
Send private message
 
 PostThu Apr 10, 2014 4:55 pm
Send private message Reply with quote
You can use "suspend obstruction" to let NPCs pass through each other.
Super Slime
Send private message
 
 PostThu Apr 10, 2014 5:09 pm
Send private message Reply with quote
There's no way to do it on a per-NPC basis, but yes, "suspend obstruction" makes all NPCs passable (to the hero and to other NPCs).
Mega Tact v1.1
Super Penguin Chef
Wizard Blocks
Blubber Bloat
Send private message
 
 PostThu Apr 10, 2014 5:12 pm
Send private message Reply with quote
sweet, thanks
dOn'T MiNd mE! i'M jUsT CoNtAgIoUs!!!
Play Orbs CCG: http://orbsccg.com/r/4r6x V
Liquid Metal Slime
Send private message
 
 PostThu Apr 10, 2014 9:57 pm
Send private message Reply with quote
Mogri wrote:
There's no way to do it on a per-NPC basis, but yes, "suspend obstruction" makes all NPCs passable (to the hero and to other NPCs).


Er, yeah there is.

plotscript dictionary wrote:
set NPC obstructs (who, value)
Given an NPC reference or NPC ID (in which case the first NPC with that ID is used), set whether the NPC should be an obstruction to heroes and other NPCS. If set to false, the NPC can move through heroes and other NPCs and vice-versa. Heroes can always pass through Step-on NPCs. value should be true or false.


You can also set whether an NPC ignores walls, and a few other specific things that make suspending anything unnecessary anymore.

You all should play catchup on the plotscript dictionary. James and TMC have been doing some cool things with it these days.
Place Obligatory Signature Here
Blubber Bloat
Send private message
 
 PostThu Apr 10, 2014 11:36 pm
Send private message Reply with quote
Joy, I was about to hop on here to question how I'm supposed to let my step-on collectables to be collectable whilst allowing foes through them. If I read that right, I'll get right back to scripting stuff...
dOn'T MiNd mE! i'M jUsT CoNtAgIoUs!!!
Play Orbs CCG: http://orbsccg.com/r/4r6x V
Super Slime
Send private message
 
 PostFri Apr 11, 2014 12:27 am
Send private message Reply with quote
Pepsi Ranger wrote:
Er, yeah there is.


W-what Gonk
Mega Tact v1.1
Super Penguin Chef
Wizard Blocks
Display posts from previous: