Forum

> > CS2D > General > About Tiggre_IF
Forums overviewCS2D overviewGeneral overviewLog in to reply

English About Tiggre_IF

12 replies
To the start Previous 1 Next To the start

old About Tiggre_IF

DarkBooy
User Off Offline

Quote
I Made Map ... The Map Had Triggre_If ..
i Write in :
1
'ham ==parse ham("killplayer 1")'
My Question is :
• Can I Change name conditions To other name ?
• its allowed In Triggre_if to make like this? : ham ==parse

• Can you Fix it.?
• If You Get other solutions ..(just in Triggre_if/map)
tell me .

and i need to change name condition to other name .
and Thanx .
edited 1×, last 27.03.13 06:48:44 pm

old Re: About Tiggre_IF

Gajos
BANNED Off Offline

Quote
WTF? What mean Triggre_IF? Maybe Trigger_if
and wtf 'ham ?
code is bad. Say us how your a script are working?

old Re: About Tiggre_IF

Avo
User Off Offline

Quote
"parse" doesn't return anything as fas as I know. If variable 'ham' is nil/false, entity will trigger then.

old Re: About Tiggre_IF

DarkBooy
User Off Offline

Quote
1
(function() local bla=parse bla("killplayer "..id.."") return false end)()



> This Code Is Work In Lua Script ..

• I need to work in (Triggre_if/map)

I very need To Work this Code .

Thanck .

old Re: About Tiggre_IF

Apache uwu
User Off Offline

Quote
1
(function() parse("killplayer 1") return false end)()

Should suffice. Now when the code is triggered by an entity, the player with an ID of 1 will die.

old Re: About Tiggre_IF

DarkBooy
User Off Offline

Quote
user Apache uwu has written
1
(function() parse("killplayer 1") return false end)()

Should suffice. Now when the code is triggered by an entity, the player with an ID of 1 will die.


Man ... ok it work but ... i need to change name "parse" to other name like : "bla"

> its Work In Triggre_If ?
> I need make (Local for bla=parse) can i make this?

old Re: About Tiggre_IF

VADemon
User Off Offline

Quote
user DarkBooy has written
user Apache uwu has written
1
(function() parse("killplayer 1") return false end)()

Should suffice. Now when the code is triggered by an entity, the player with an ID of 1 will die.


Man ... ok it work but ... i need to change name "parse" to other name like : "bla"

> its Work In Triggre_If ?
> I need make (Local for bla=parse) can i make this?

You shouldn't be able to create a local inside of trigger_If
That's why the only way is creating a global and then using it.

old surprise!

DarkBooy
User Off Offline

Quote
√ I just need to change name "parse" to other name like: "bla" and i did !!

If you not Belive me .. here is Code :

1
(function() local bla=parse bla("killplayer 1") return false end)()

thats what i want .

Note:This Code is Work .

√ Thanx For some Info .
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview