Forum

> > CS2D > Scripts > Script about hostages
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Script about hostages

3 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Script about hostages

xNir
User Off Offline

Zitieren
Hi everyone,

Well, i would like to make a simple script which is about making hostages in game as the same way as building wall in construction mode by using the wrench. Besides, the current position x,y can be edited i mean the hostage can be in the middle of 2 tiles. However, i don't know how to start with this..

Thanks for reading.

alt Re: Script about hostages

Rainoth
Moderator Off Offline

Zitieren
I can't quite get it.

You wanna select wrench and when you build something, instead of WALL a hostage appears ?

I think it's not possible to create cs2d hostages, at most you could make custom NPC and then make him act like hostage, but it's a lot of work I think.

alt Re: Script about hostages

DC
Admin Off Offline

Zitieren
Impossible. There are no commands to spawn hostages. They are meant for cs_ maps only and they are only spawned by entities in standard game mode. There is no other way to spawn them.

It could lead to problems with the game logic when you would be able to randomly spawn hostages.

alt Re: Script about hostages

xNir
User Off Offline

Zitieren
user Rainoth hat geschrieben
I can't quite get it.

You wanna select wrench and when you build something, instead of WALL a hostage appears ?

I think it's not possible to create cs2d hostages, at most you could make custom NPC and then make him act like hostage, but it's a lot of work I think.


Ok, thanks for replies, i'm gonna try this way.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht