Forum

> > CS2D > General > Func_Gameaction Help
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Func_Gameaction Help

9 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Re: Func_Gameaction Help

TimeQuesT
User Off Offline

Zitieren
it's for the restart option. if there stands a 2 the round will rstart in 2 Minutes or seconds (i don't know)

alt Re: Func_Gameaction Help

KamikazeHD
User Off Offline

Zitieren
Oh, well I need some help, I'm making a map, and it has a nuclear bomb that comes in at 1 second left and triggers a Round Draw, but I want it so that if the CT's make it to a certain area, the nuke still goes off, but it's a CT win. Any ideas?

alt Re: Func_Gameaction Help

doom15
BANNED Off Offline

Zitieren
make a use_and a Func_Gameaction..with same name like a340

And when the trigger (use is activated) the gameaction will be , if i didnt explain better sry

alt Re: Func_Gameaction Help

chuico123
User Off Offline

Zitieren
hey wups, the answer to everything is not lua

to make that work you will need a trigger_delay so theres no error, and also a trigger_move, when a player step on this the entity linked to it will be triggrered

something like this if you want a nuke to explode when cts reach an area:

env_explode
name: nuke
power: 500 (pwn anyone that isnt wearing an supa armor)
radius: any value that covers the whole map, remember: its in PIXELS and NOT SQUARES, if you put it in square values its gonna be like just a HE if the map is 50x50, a whole square is 32x32 pixels, so you just need a calculator
expode if walk over: unmark that or put the env in a wall

trigger_delay
name: delay1
trigger: nuke, gamefun1
time secs: the ammount of time u want to elapse after the cts reach the designed area

func_gameaction
name: gamefun1
action: its your choice, a round draw or CT win, i havent understand why a nuke explode when cts reach somewhere... anyway... its your choice and your map

trigger_move
name: nukearea
trigger: delay1
triggered by: you can choose by anyone, CTs only and TRs only, again it depends on your map

just play around whit the entities and test them, im sure will learn more if you just test what each one does

alt Re: Func_Gameaction Help

chuico123
User Off Offline

Zitieren
New Rex hat geschrieben
chuico123 hat geschrieben
hey wups, the answer to everything is not lua


That's truth!


i hate when a newcomer is asking for help and someone just say "use lua" "maybe lua" "lua ftw" grrr i hate it, lucky its not everyone

well... kamikaze did you got it right? do u need any more help?
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht