![]() |
Block Scripting
say you have a NPC of a block. Here is what I want to know.
How would you make it so that a block had a certain identity (maybe like one block is called 1 or another one is 2) and an action only happens once they are drug on top of a certain area. Say there are 4 different blocks and a specific one has to be dragged to a specific spot and then an action happens. How would you do this? |
ez use callnpc or triggeraction
|
liquid explain the whole callnpc thing to me please
I don't get sh*t of it...:( |
do like:
NPC Code: |
but the blocks are unique. That would allow any block to work in any space and I have 4 spaces and 4 blocks and I need the right one for each area to be placed for this to work.
How would I do that exactly? |
no, babylon d00d
|
here is an example
of how to open a certain door from something u touch (not tested) the 'switch' NPC Code: then the door NPC Code: easy =) callnpc basically sets a variable to true in another npc trigger action is the same but its for x,y instead of calling by index |
Quote:
|
Quote:
|
what liquid did ...
yeah what liquid did works ...
http://www.deceptiononline.f2s.com/nyghtdoll.gif |
| All times are GMT +2. The time now is 11:24 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.