![]() |
Kill Count
Hmm, basically...
Once you kill * many things you recieve clientr.* += 1 What I'm trying to do right this seconds are for the default scripted spiders. So basically, if (youkillaspider) {clientr.spider += 1;} I don't even know where to start on the script so I'm just asking sooner than later. |
Well, ideally the only way to track this is to count the number of compus in the level when you enter, and keep track of them, whenever one of them dies add it to the count. But... this wouldn't work online because it'll keep track of others who kill them. I can't think of any way to do it online... Best bet is to probably script your own baddies.
|
Quote:
level1 5 comps die clientr.part1 == 1 level2 5 comps die clientr.part2 == 1 level3 5 comps die clientr.part3 == 1 then for the return script if (clientr.part1 == 1)&&(clientr.part2 == 1)&&(clientr.part3 == 1) ACTION; else say2 Hello World!; what would be the best way to format that with all three of the clientr? |
Sorry, I don't quite understand what you're trying to say.
|
Quote:
|
There are 3 rooms that you are going to be required to kill 5 baddies in.
Since you can only keep track of 1 room at a time I will have to set 3 strings. What would be the best way to script that if all strings == 1 that you will have an outcome... as in say2 helloworld; (Ill annoy you guys later with more scripting questions, gotta eat dinner at parents house bbl) xD |
:pluffy: < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < <
^ Ask Stefan (sorry, this spam ares funneh xD) |
if (compusdied && (strtofloat(#s(clientr.part1)) + strtofloat(#s(clientr.part2)) + strtofloat(#s(clientr.part3)))==3) {
??? } |
Quote:
|
True, but either way it adds to the same, you can either check if each one is true, of if they add all up to being true. Same outcome though.
|
| All times are GMT +2. The time now is 01:01 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.