A script request!
4 posters
Page 1 of 1
A script request!
So, my game will have space travel, meaning some times actor1's helmet will be off and soemtimes on. I don't know if it's possible, but is there a way to replace actor1's spritesheet with another 1 with either a switch, a script call or only on marked maps? Not with all three, just the method that's easier to script
Vectomon- Resource Moderator
- Posts : 1029
Gald : 3025
Stats
Cookies: 0
Re: A script request!
I think it can be done via conditional branch.
Try this:
If actor has armor equipped:
Change actor graphic.
Else:
Change actor graphic to the normal one.
Try this:
If actor has armor equipped:
Change actor graphic.
Else:
Change actor graphic to the normal one.
Re: A script request!
Well, it's not an equip, or an item at all. It's just a changing graphic. Is it possible to be done?
Vectomon- Resource Moderator
- Posts : 1029
Gald : 3025
Stats
Cookies: 0
Re: A script request!
I think so, yes. Like Dez said, you could use a conditional branch. However, instead of checking a certain piece of equipment, you could check a variable or a switch.
Once the check is satisfied, you could use an event to change the actor's helmet.
For example. The event that transfers the actor into the spaceship could perform these actions.
Once the check is satisfied, you could use an event to change the actor's helmet.
For example. The event that transfers the actor into the spaceship could perform these actions.
crazedanimekid- Platinum Cookiez
- Posts : 501
Gald : 1277
Stats
Cookies: 0
Re: A script request!
Yes.
(If you want it to be for certain maps, simply do this on the maps you want:
Parallel Process: The things beneath, then Erase Event.)
Conditional Branch.
If it's an equippable armor, see above.
If it's a switch, do this:
If switch is on:
Change actor graphic.
Else:
Change actor graphic to original.
(If you want it to be for certain maps, simply do this on the maps you want:
Parallel Process: The things beneath, then Erase Event.)
Conditional Branch.
If it's an equippable armor, see above.
If it's a switch, do this:
If switch is on:
Change actor graphic.
Else:
Change actor graphic to original.
Re: A script request!
Thanks a lot guys! I'm so dumb for this kind of stuff. xC
Edit: WOOH! It worked! 8D You guys made Una 10% more awesome.
Edit: WOOH! It worked! 8D You guys made Una 10% more awesome.
Vectomon- Resource Moderator
- Posts : 1029
Gald : 3025
Stats
Cookies: 0
Re: A script request!
No worries, dude.
crazedanimekid- Platinum Cookiez
- Posts : 501
Gald : 1277
Stats
Cookies: 0
Similar topics
» Script-edit request
» Script Request, Save System
» Script Request, Refine System
» Character Creation Script [Request]
» HUD request
» Script Request, Save System
» Script Request, Refine System
» Character Creation Script [Request]
» HUD request
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|