Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
0 registered members (), 16,302 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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 | 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