Forum
CS2D General Func_Gameaction HelpFunc_Gameaction Help
9 replies 1
And when the trigger (use is activated) the gameaction will be , if i didnt explain better sry
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
chuico123 has written
hey wups, the answer to everything is not lua
That's truth!
New Rex has written
That's truth!
chuico123 has written
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?
1