Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 20:05
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (VoroneTZ, 7th_zorro), 1,332 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
power ups! #149099
08/20/07 04:07
08/20/07 04:07
Joined: Jul 2007
Posts: 26
J
jemballs Offline OP
Newbie
jemballs  Offline OP
Newbie
J

Joined: Jul 2007
Posts: 26
Just wondering if it is possible to store strings (more specifically: File Names) in a skill?
I am making a multiplayer game involving power ups. I want to create panels that use a bmap to depict what player holds what power up.

So something that will look like this:
Code:
 

string str_cocobomb = "cocobomb.pcx";

panel pan_powerup1
{
...
bmap = my.powerup1;
}

check_powerup
{
....
my.powerup1 = str_cocobomb;
}



would this work?

Re: power ups! [Re: jemballs] #149100
08/20/07 12:27
08/20/07 12:27
Joined: Jul 2007
Posts: 959
nl
F
flits Offline
User
flits  Offline
User
F

Joined: Jul 2007
Posts: 959
nl
maby use send_string_to (entity, string);

dont know if you can use skills for strings

dont know if it works because read this manual:

send_string_to executed on the server sends the string only to client who has created the given entity. When executed on the client it sends the string to the server, regardless of which entity is given.


"empty"
Re: power ups! [Re: flits] #149101
08/20/07 12:42
08/20/07 12:42
Joined: Jul 2007
Posts: 26
J
jemballs Offline OP
Newbie
jemballs  Offline OP
Newbie
J

Joined: Jul 2007
Posts: 26
o_O wow thanks for that!! that might just work! Can't wait to get to class tomorrow and try it!

I'll let you know how it goes!


Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1