Scripts / Show/hide NPC's?!

Author
Message
DDomian
6
Years of Service
User Offline
Joined: 29th Dec 2017
Location:
Posted: 29th Dec 2017 20:05
Hey guys, this is my first post and also a question. I'm not good at scripting and I was wondering is there any easy way of making an NPC (zombie, in my case) appear when entering trigger zone and then dissapear when entering another trigger zone?
p.s. sry if my English is bad
PM
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 29th Dec 2017 21:06 Edited at: 29th Dec 2017 21:06
Most of what you need to know is in this twitch broadcast:


Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.
DDomian
6
Years of Service
User Offline
Joined: 29th Dec 2017
Location:
Posted: 29th Dec 2017 22:06
It shows only spawning of an NPC but no words about hidding the same NPC by a trigger zone :/
PM
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 30th Dec 2017 00:45
Hide the NPC in the properties m8 spawn at start= no then use the script to spawn the entity
Intel i5 4950 Quad core 3.3ghz AMD FX 6300 x6 cores 3.5ghz(unclocked)
8gb Ram 8gb Ram
AMD Radeon 7570 1gb AMD Radeon HD 6670 2gb
and a well fed mouse on a wheel

I only smile because i have absolutely no idea whats going on
Corno_1
GameGuru Tool Maker
13
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 30th Dec 2017 00:59 Edited at: 30th Dec 2017 01:00
You must destroy the entity if you activate the second triggerzone with Destroy(e).
And please explain exactly what you want and which scripts you use. We can not help very much if we must assume what you want and what your actual state is.
Ebe Editor Free - Build your own EBE structures with easy and without editing any text files
Thread and Download
PM

Login to post a reply

Server time is: 2024-04-18 22:13:49
Your offset time is: 2024-04-18 22:13:49