![]() |
Triggering another npc in the level?
I know how to trigger different weapons but how would I trigger an npc in another npc in the same level. Like lets say there was a switch you had to to and it would then like open a door or something. Could anyone give me an example of how I could do it?
|
Well, if you know the x/y use triggeraction.
Here's the door HTML Code:
function onCreated() {HTML Code:
function onCreated() { |
It's probably better do do something like this:
PHP Code:
PHP Code:
|
Can you set level.lol clientside?
Edit: Also can I use Andys XY triggeraction to trigger serverside in the same npc? |
Quote:
Quote:
|
Quote:
Quote:
|
Quote:
You haven't defined a shape for the object, you need a setShape() in the serverside. |
Alright awesome thanks, it was the setshape that was giving me a problem because I wasn't aware that it was needed.
|
Quote:
|
Quote:
|
| All times are GMT +2. The time now is 09:51 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.