Post new topic    
How to make Npc able to move on top of each other 
 PostFri Aug 14, 2020 2:27 am
Send private message Reply with quote
I have an invisible step-on Npc that triggers a script, as well as another visible npc that has to be able to be pushed around freely over the invisible one. But the npc refuses to go over it, despite the hero character being able to walk on it. How do I solve this problem?
dQw4w9WgXcQ
Slime Knight
Send private message
 
 PostFri Aug 14, 2020 2:38 am
Send private message Reply with quote
Quote:
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.


So, if your invisible npc is, say, npc id 3:

Code:
set NPC obstructs (3, false)

Do you make love with the same urgency you make games?
 
 PostFri Aug 14, 2020 7:26 pm
Send private message Reply with quote
it worked, thanks
dQw4w9WgXcQ
Display posts from previous: